openapi-generator/samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations
William Cheng 1fa07bf46c
Prepare 7.12.0 (#20512)
* Revert "v7.11.0 release (#20508)"

This reverts commit a7240eeefeedeefe7fc80ef22747dfc67e126324.

* prepare 7.12.0 snapshot version

* update samples

* update readme
2025-01-21 00:10:09 +08:00
..
2025-01-21 00:10:09 +08:00

JAX-RS server with OpenAPI using Quarkus

Overview

This server was generated by the OpenAPI Generator project. By using an OpenAPI-Spec, you can easily generate a server stub.

This is an example of building a OpenAPI-enabled JAX-RS server. This example uses the JAX-RS framework and the Eclipse-MicroProfile-OpenAPI addition.

The pom file is configured to use Quarkus as application server.

To start the server in dev mode, run this maven command:

mvn compile quarkus:dev

You can then call your server endpoints under:

http://localhost:8080/

In dev-mode, you can open Swagger-UI at:

http://localhost:8080/swagger-ui/

Read more in the Quarkus OpenAPI guide.