Aws apigateway: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=import-rest-api= | =import-rest-api= | ||
Creates a new API from an external API definition file. | |||
aws apigateway import-rest-api --body 'file:///path/to/API_Swagger_template.json' | aws apigateway import-rest-api --body 'file:///path/to/API_Swagger_template.json' | ||
aws apigateway import-rest-api --body 'file:///Users/ovidiu/playground/api-gateway-playground/themyscira/build/swagger.json' | aws apigateway import-rest-api --body 'file:///Users/ovidiu/playground/api-gateway-playground/themyscira/build/swagger.json' |
Revision as of 22:55, 28 February 2019
Internal
import-rest-api
Creates a new API from an external API definition file.
aws apigateway import-rest-api --body 'file:///path/to/API_Swagger_template.json'
aws apigateway import-rest-api --body 'file:///Users/ovidiu/playground/api-gateway-playground/themyscira/build/swagger.json'