O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MicroProfile OpenAPI annotations

Probably the most common source of OpenAPI information is the set of annotations that make up the definition of a standard JAX-RS application. These annotations, along with additional (optional) annotations defined by the MicroProfile OpenAPI specification, can be scanned and processed by the MicroProfile platform to produce an OpenAPI document.

The MP OpenAPI specification requires the generation of a valid OpenAPI document from pure JAX-RS 2.0 applications. If you are new to OpenAPI, you can simply deploy your existing JAX-RS application to a MicroProfile OpenAPI runtime and check out the output from /openapi.

To fill out additional details of the generated OpenAPI document, you may further annotate your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required