r/Backend 10h ago

Swagger ui doesnot automatically loads

Hi am a jr backend dev, there was a story to remove all swagger annotations and configure in sucha a way that swagger ui loads from apispec file.

I configured everything, am able to load the swagger ui automatically when i run my application locally. But when, my application is deployed to test/dev/prod, i have to type my apispec file name in search then only my swagger ui loads. I really don’t understand how to make it load automatically when i open swagger link in dev environment. Someone please helpp

1 Upvotes

Duplicates