openapi: "3.0.1" info: title: "blog" version: "2020-09-12T10:22:22Z" paths: /blog: get: responses: 200: description: "200 response" headers: Access-Control-Allow-Origin: schema: type: "string" content: application/json: schema: $ref: "#/components/schemas/Empty" security: - MyLambdaTokenAuth: [] x-amazon-apigateway-integration: responses: default: statusCode: "200" responseParameters: method.response.header.Access-Control-Allow-Origin: "'*'" responseTemplates: application/json: "{\n \"statusCode\": 200,\n \"message\": \"\ Hello from API Gateway!\"\n}" requestTemplates: application/json: "{\n \"statusCode\": 200,\n \"message\": \"Hello\ \ from API Gateway!\"\n}" passthroughBehavior: "when_no_match" type: "mock" options: responses: 200: description: "200 response" headers: Access-Control-Allow-Origin: schema: type: "string" Access-Control-Allow-Methods: schema: type: "string" Access-Control-Allow-Headers: schema: type: "string" content: {} x-amazon-apigateway-integration: responses: default: statusCode: "200" responseParameters: method.response.header.Access-Control-Allow-Methods: "'GET,OPTIONS'" method.response.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" method.response.header.Access-Control-Allow-Origin: "'*'" responseTemplates: application/json: "{}\n" requestTemplates: application/json: "{\n \"statusCode\" : 200\n}\n" passthroughBehavior: "when_no_match" type: "mock" components: schemas: Empty: title: "Empty Schema" type: "object" x-amazon-apigateway-gateway-responses: DEFAULT_4XX: responseParameters: gatewayresponse.header.Access-Control-Allow-Methods: "'GET,OPTIONS'" gatewayresponse.header.Access-Control-Allow-Origin: "'*'" gatewayresponse.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" DEFAULT_5XX: responseParameters: gatewayresponse.header.Access-Control-Allow-Methods: "'GET,OPTIONS'" gatewayresponse.header.Access-Control-Allow-Origin: "'*'" gatewayresponse.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" ACCESS_DENIED: statusCode: 403 responseParameters: gatewayresponse.header.Access-Control-Allow-Methods: "'GET,OPTIONS'" gatewayresponse.header.Access-Control-Allow-Origin: "'*'" gatewayresponse.header.Access-Control-Allow-Headers: "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'" responseTemplates: application/json: "{\"message\":$context.authorizer.errorMessage}"