Forum Discussion

spg's avatar
spg
New Contributor
5 months ago

Disable default /v3/api-docs springdoc openapi endpoint in Swagger UI

I migrated from code-first approach to api design-first approach by writing an openapi specification file.

but whenever I hit swagger-ui/index.html, I can see it is loading previous specification file as default like /v3/api-docs. I want this url to load my custom openapi-specification file (openapi-spec.yaml). how to achieve this in java spring boot?

I want to remove this default endpoint of /v3/api-docs

No RepliesBe the first to reply