REST endpoints using the Swagger UI page

Hi,
Please how can I access the swagger document for my local rest services?

I am already aware of this Swagger UI but I need the local equivalent for my jmix application.

rest-api-addon-on is already enabled for my application.

Thanks

You need Project-specific OpenAPI Documentation.

You can see it in Swagger UI if you enable public access to this endpoint:

jmix.rest.anonymous-url-patterns = /rest/docs/*

Then just put the local URL into the Swagger UI field on the top:
image

1 Like

Hi Konstantin,
Thanks very much. It works.

Best regards

isn’t there a way to display the project-specific swagger page? are we obliged to enter a url in this page?