Skip to content

Instantly share code, notes, and snippets.

@yaasita
Created April 22, 2019 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yaasita/b9fc1054feb9946e6d22d26d45a07bed to your computer and use it in GitHub Desktop.
Save yaasita/b9fc1054feb9946e6d22d26d45a07bed to your computer and use it in GitHub Desktop.
diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml
index d5b6593..0b4dedd 100644
--- a/swagger/swagger.yaml
+++ b/swagger/swagger.yaml
@@ -2323,28 +2323,31 @@ paths:
/me/applications:
get:
description: '管理アプリケーションの一覧を取得する'
- schema:
- type: object
- properties:
- clients:
- type: array
- items:
- $ref: '#/definitions/AuthleteClient'
- developer:
- type: string
- start:
- type: integer
- end:
- type: integer
- totalCount:
- type: integer
+ responses:
+ '200':
+ schema:
+ type: object
+ properties:
+ clients:
+ type: array
+ items:
+ $ref: '#/definitions/AuthleteClient'
+ developer:
+ type: string
+ start:
+ type: integer
+ end:
+ type: integer
+ totalCount:
+ type: integer
security:
- cognitoUserPool: []
x-amazon-apigateway-integration:
responses:
default:
statusCode: '200'
- uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsIndex.Arn}/invocations
+ uri:
+ Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsIndex.Arn}/invocations
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
@@ -2362,7 +2365,8 @@ paths:
responses:
default:
statusCode: '200'
- uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsCreate.Arn}/invocations
+ uri:
+ Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsCreate.Arn}/invocations
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
@@ -2383,7 +2387,8 @@ paths:
responses:
default:
statusCode: '200'
- uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsShow.Arn}/invocations
+ uri:
+ Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsShow.Arn}/invocations
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
@@ -2406,7 +2411,8 @@ paths:
responses:
default:
statusCode: '200'
- uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsUpdate.Arn}/invocations
+ uri:
+ Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsUpdate.Arn}/invocations
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
@@ -2424,7 +2430,8 @@ paths:
responses:
default:
statusCode: '200'
- uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsDelete.Arn}/invocations
+ uri:
+ Fn::Sub: arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${MeApplicationsDelete.Arn}/invocations
passthroughBehavior: when_no_templates
httpMethod: POST
type: aws_proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment