aws / aws/serverless-application-model
Feature Request: AWS::ApiGateway::DocumentationVersion
Open
area/resource/api
maintainer/need-response
type/feature
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 2.5k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 7
Description
Hi,
at the moment its not possible to auto publish API Gateway Documentation that is define e.g. via inline Swagger.
Its also not possible to specify the DocumentationVersion at the stage.
```
ApiDocumentation:
Type: AWS::ApiGateway::DocumentationVersion
Properties:
DocumentationVersion: $hash_of_template
RestApiId: !Ref ExternalApi
Stage:
Type: AWS::ApiGateway::Stage
Properties:
DeploymentId: !Ref Deployment
DocumentationVersion: !Ref ApiDocumentation
RestApiId: !Ref RestApi
StageName: !Ref stageName
````
Contributor guide
Assessment
This issue has not been assessed yet.