Forum Discussion

dzs's avatar
New Contributor
4 years ago

Provide a pregenerated OpenAPI spec to the Swagger Servlet in Spring

I'm using the Docklet bean provided by SpingFox to run SwaggerUI from Spring MVC.


What I'd like to do is feed it with my own pre-generated OpenAPI spec rather than it inspecting my RestControllers.


Is there a way to do this?


Any help much appreciated.