Hello together
I have questions about handling Swagger in certain use cases.
With the link obtained in the documentation I looked up the REST-API documentation of JMIX with swagger. In the Swagger-UI obtained through that link I was able to post “http://localhost:8080/rest/docs/openapiDetailed.yaml” and see the REST-API documentation for all my entities. I was also able to download the file “rest-openapi.yaml” from jmix and “openapidetailed.yaml” from my own application.
My questions are:
- why do I see the REST-API for basic Oauth in the Jmix Swagger-UI but not in the Swagger-UI for my own application?
- How do restrict or make changes in the “openapidetailed.yaml”?
- I would like to have a swagger-ui start with only my swagger-rest-api-documentations similar to the starting link for the jmix swagger-ui. How is this possible?
- In the forum I saw hints to the procedure to implement swagger annotations (in 2021) addressing an article on baeldung.com. Is this still the best practice or has there been a change?
Thanks for your advice and hints.
big hug, Michael