How to access AWS API Gateway documentation using Swagger UI

后端 未结 2 1995
攒了一身酷
攒了一身酷 2020-12-18 20:29

I have created API using AWS Api Gateway. Then i have documented documentation parts for all the entities ( like API, RESOURCE, METHOD, MODEL etc). Then using AWS Gateway Co

相关标签:
2条回答
  • 2020-12-18 20:55

    AWS API Gateway can only make documentation exportable but won't render a UI app. There is no endpoint that you can use in the gateway to render the documentation. You may wish to use third party tools or AWS API Gateway Developer Portal to allow users browse API documentation. You may find this blog helpful.

    0 讨论(0)
  • 2020-12-18 21:07

    you can try https://www.npmjs.com/package/micro-swagger

    npm i -g micro-swagger
    micro-swagger start
    
    0 讨论(0)
提交回复
热议问题