awslabs / aws-api-gateway-developer-portal

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

automatically update api swagger on new api gateway document déploiement #481

Open yannick-fernand opened 3 years ago

yannick-fernand commented 3 years ago

1 - exposed an api gateway api into developer portal 2 - change the corresponding api documentation on api gateway and deploy it 3 - go to developper portal and check the swagger a - the swagger has not change b - i have to go into admin panel et push the update bouton to see my changed

Is there a way to have the swagger to be automatically updated on new api gateway documentation publication ?

alansammarone commented 2 years ago

+1. It's very error prone to have to manually hit the Update button every time, would love a way to do that programmatically.

tej-rana commented 2 years ago

I agree but at what stage or interval do we want the updates to happen? Maybe an automatic/manual option first so that manual update is still available and then maybe an interval configuration that automatically does what the update button click is doing.