awslabs / aws-api-gateway-developer-portal

A Serverless Developer Portal for easily publishing and cataloging APIs
Apache License 2.0
932 stars 402 forks source link

Swagger UI is not loading #628

Open GPRepo opened 1 year ago

GPRepo commented 1 year ago

The current code deployment facing the below issues.

  1. node run install release command prompting github login and deployment is failing with node version >16.
  2. If I downgrade node version to 12 , then deployment is fine but swagger ui is not loading on the apis.
JukkaTim commented 1 year ago

@GPRepo Did you found a solution to problem that Swagger UI is not loading when stage is selected from API list? I try to do two identically environment and latter portal has this problem even the API and its json file are same. Same stages deploeyd visible set to true and so on. With browser inspection tool I see that catalog function gets a whole swagger as a response, but portal doesn't show it. I try to compare these two portal deploys but can't figure out what is causing this problem. This is not related to one specific API because generic APIs and all dummy APIs I have deployd in API Gateway doesn't load swagger ui.