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

Static OpenAPI files

As mentioned earlier in the chapter, static OpenAPI files are one of the three sources from which the OpenAPI document can be created. In the following, we give you a short introductory description of how you could generate one and how to include it in your deployment. Many organizations use an API-first development practice, which entails defining static OpenAPI files even before any code is implemented for them.

First, you can create an OpenAPI document by using an open source editor such as Swagger Editor (https://editor.swagger.io). The following is a screenshot shows this:

Using this editor, you can start with sample ...

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