Relative Content

Tag Archive for javaspringswaggeropenapi

Add custom API endpoint paths in Swagger 3 api-docs

The api-docs.json generated by Swagger 3 contains all the endpoint paths which are annotated with @Operation in the RestController classes, but it doesnt include those endpoints which are also exposed by the API application but not part of the RestController for ex. /actuator/*, /v3/api-docs & /swagger-ui.html.