MicroProfile OpenAPI aims to provide a unified Java API for the OpenAPI v3.1 specification that all application developers can use to expose documentation for their REST APIs.
OpenAPI documentation can be automatically generated for REST applications written using the Jakarta RESTful Web Services API and application developers may also use annotations in their code to add additional detail to the documentation.
A low level model API is also provided to give application developers direct control over the document if needed, either to build up the document from scratch in code or to edit the generated document.
It’s also possible for the application developer to directly provide the OpenAPI document for their API instead.
Whether generated from the application or provided directly, the OpenAPI document is served to end users from the /openapi endpoint.
Weekly meeting: (UTC / US Eastern time).
Functional changes
- Documentation is now produced in OpenAPI v3.1 format (previously v3.0)
- A full list of the changes made in the 4.0 release can be found in the MP OpenAPI 4.0 milestone