Forum Discussion
Hi pete_123
The best starting point will be the exact (Spring) library used to render SwaggerUI (and more importantly, the OpenAPI.json file that powers SwaggerUI).
Two that I can think of include https://github.com/springdoc/springdoc-openapi and http://springfox.github.io/ .
Typically you'd add annotations to your classes and methods to add them as REST controllers and the library should pick those up, if not there may be a missing configuration or you may need to add other annotations. It'll depend on which library is used.
Hope that helps!