Forum Discussion

dzs's avatar
dzs
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 RestController...