Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- swagger: "2.0"
- info:
- version: "2018-03-21T15:53:05Z"
- basePath: "/v1"
- schemes:
- - "https"
- paths:
- /customer:
- post:
- produces:
- - "application/json"
- responses:
- 200:
- description: "200 response"
- schema:
- $ref: "#/definitions/Empty"
- headers:
- Access-Control-Allow-Origin:
- type: "string"
- Access-Control-Allow-Methods:
- type: "string"
- Access-Control-Allow-Headers:
- type: "string"
- x-amazon-apigateway-integration:
- uri: "arn:aws:apigateway:REGION:lambda:path/2015-03-31/functions/arn:aws:lambda:REGION:ACCOUNT:function:${stageVariables.LambdaFunctionName}/invocations"
- responses:
- default:
- statusCode: "200"
- responseParameters:
- method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
- method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'"
- method.response.header.Access-Control-Allow-Origin: "'*'"
- passthroughBehavior: "when_no_match"
- httpMethod: "POST"
- contentHandling: "CONVERT_TO_TEXT"
- type: "aws_proxy"
- options:
- consumes:
- - "application/json"
- produces:
- - "application/json"
- responses:
- 200:
- description: "200 response"
- schema:
- $ref: "#/definitions/Empty"
- headers:
- Access-Control-Allow-Origin:
- type: "string"
- Access-Control-Allow-Methods:
- type: "string"
- Access-Control-Allow-Headers:
- type: "string"
- x-amazon-apigateway-integration:
- responses:
- default:
- statusCode: "200"
- responseParameters:
- method.response.header.Access-Control-Allow-Methods: "'DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT'"
- method.response.header.Access-Control-Allow-Headers: "'Content-Type,Authorization,X-Amz-Date,X-Api-Key,X-Amz-Security-Token'"
- method.response.header.Access-Control-Allow-Origin: "'*'"
- passthroughBehavior: "when_no_match"
- requestTemplates:
- application/json: "{\"statusCode\": 200}"
- type: "mock"
- definitions:
- Empty:
- type: "object"
- title: "Empty Schema"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement