Skip to content

Swagger

To access Swagger documentation, click the URL http://localhost:8080/openkm/swagger-ui.html It will show a screen like the one below asking for authorized user credentials:

Then the Swagger tool will be displayed:

Let’s do a quick test of the tool checking the getRoles method from auth-service.

  • Open the auth-service

  • Open the “roles” method and click on the button “Try it out”:

  • Click on the “Execute” button.

  • Finally, the results will be shown.