Created
May 3, 2019 09:29
-
-
Save jmglov/b7e656d9eced98cd8e31bbde4122efb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: "3.0.0" | |
info: | |
version: "0.1" | |
title: clj-prod-YOURNAME | |
description: Checkout reporting API | |
paths: | |
/events: | |
put: | |
summary: Publish new events | |
requestBody: | |
content: | |
application/json: | |
schema: | |
'$ref': '#/components/schemas/PutEvents' | |
responses: | |
'202': | |
description: Events accepted for aggregation | |
x-amazon-apigateway-integration: | |
type: aws_proxy | |
httpMethod: POST | |
uri: arn:aws:apigateway:eu-west-1:lambda:path/2015-03-31/functions/arn:aws:lambda:eu-west-1:AWSACCOUNT:function:clj-prod-YOURNAME-events/invocations | |
credentials: arn:aws:iam::AWSACCOUNT:role/clj.prod | |
x-amazon-apigateway-request-validators: | |
all: | |
validateRequestBody: true | |
validateRequestParameters: true | |
x-amazon-apigateway-request-validator: all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment