File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed
application-infrastructure Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 11openapi : ' 3.0.0'
22info :
33 title : " Web Service API"
4- description : " An API. "
4+ description : " An API"
55 version : " 0.1"
66 contact :
77 name : " Your Name"
1515
1616paths :
1717
18- /api/ :
18+ /api/example/ :
1919 get :
20- description : " GET API Data. "
20+ description : " GET API Example "
2121 # parameters:
2222 # - $ref: '#/components/parameters/someParameter'
2323 responses :
Original file line number Diff line number Diff line change @@ -486,15 +486,15 @@ Resources:
486486 GetApiData :
487487 Type : Api
488488 Properties :
489- Path : /api/data
490- Method : get
491- RestApiId : !Ref WebApi
492- GetById :
493- Type : Api
494- Properties :
495- Path : /api/data/{id}
489+ Path : /api/example
496490 Method : get
497491 RestApiId : !Ref WebApi
492+ # GetById:
493+ # Type: Api
494+ # Properties:
495+ # Path: /api/example/{id}
496+ # Method: get
497+ # RestApiId: !Ref WebApi
498498
499499 # -- LambdaFunction Execution Role --
500500
@@ -685,9 +685,6 @@ Outputs:
685685 APIEndpoint :
686686 Description : " Endpoint URL"
687687 Value : !Sub "https://${WebApi}.execute-api.${AWS::Region}.amazonaws.com/${ApiPathBase}/"
688- APIEndpointTest :
689- Description : " Endpoint Test URL"
690- Value : !Sub "https://${WebApi}.execute-api.${AWS::Region}.amazonaws.com/${ApiPathBase}/?q=Chicago"
691688 CloudWatchLambdaExecutionLogGroup :
692689 Description : " Cloud Watch Log Group for Lambda Execution Logs"
693690 Value : !Sub "https://console.aws.amazon.com/cloudwatch/home?region=${AWS::Region}#logStream:group=%2Faws%2Flambda%2F${AppFunction}"
You can’t perform that action at this time.
0 commit comments