Contributions
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-docs117Views0likes0CommentsAPI versioning via Accept header approach
I would to like to bring versioning concept to one of my API. I decided to go with "Accept header" (a.k.a MIME Type or content negotiation) approach. application/vnd.me.v1+json => should return response which is part of V1 application/vnd.me.v2+json => should return response which is part of V2. Can anyone help me achieve my goal?510Views0likes0Comments