Installing and Deploying Swagger UI

The following dependency:


<dependency>
    <groupId>org.microprofile-ext.openapi-ext</groupId>
    <artifactId>swagger-ui</artifactId>
    <version>1.0.2</version>
</dependency>

installs the Swagger UI "website" and makes it available directly from a configurable URI (in our case: https://localhost:8080/openapiui/resources/openapi-ui/).

The example was deployed with wad.sh to payara.fish. Warning: most application servers / runtimes already ship with Swagger UI.

See you at Web, MicroProfile and Jakarta EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting. Is Munich's airport too far? Learn from home: airhacks.io.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License