Search code examples
amazon-web-servicesamazon-s3aws-api-gatewayamazon-cloudfront

AWS APIGateway - Display resources (endpoints) for HTTP API from AWS console


When I create REST API via APIGateway, I have a beautiful dashboard to allows me to see different endpoints:

enter image description here

Problem: When I create HTTP API via APIGateway, I can't see my different endpoints like below:

enter image description here

My need and my goal: I want to document my API resources in order to generate a swagger and to be able to make requests directly in the swagger.

I don't want to use S3 solution.

I used Cloudfront to make a required authentication before accessing swagger.

Thank's in advance :)

EDIT: @eli6, the problem is: When I click on Routes, I have only this: enter image description here


Solution

  • On the menu to the left on the HTTP API view, you can click on "Routes" to see the different endpoints, or on "Export" to export their definition in the OpenAPI 3 format. OpenAPI 3 can be imported and used with the Swagger tools.

    enter image description here