serverless-application-model icon indicating copy to clipboard operation
serverless-application-model copied to clipboard

Feature Request: AWS::ApiGateway::DocumentationVersion

Open schabert opened this issue 6 years ago • 4 comments

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

schabert avatar Jan 08 '19 21:01 schabert

SAM could probably do more than this for documentation; it could possibly allow users to document their API inline inside the SAM template. This is something that could be good for SAM to do

keetonian avatar Jan 18 '19 18:01 keetonian

@schabert @keetonian Any known workaround/method to actually deploy the documentation, other then logging into the console and publish it?

mvanbaak avatar Dec 10 '19 17:12 mvanbaak

I am interested in seeing this functionality in SAM, as well. Thanks! 👍

cappaberra avatar Jul 07 '20 17:07 cappaberra