OpenAPI 4.0
MicroProfile Open API 4.0 aims to provide a set of Java interfaces and programming models which allow Java developers to natively produce OpenAPI v3.1 documents from their Jakarta REST applications.
The goal of this release is to provide features requested by the community, with a focus on adding support for the OpenAPI v3.1 specification. Changes targeting the release include:
API/SPI Changes
- Changes for OpenAPI Specification (OAS) v3.1 ([333]) Detailed listing of issues for OAS v3.1 in the MP OpenAPI 4.0 milestone
- Default value of
@RequestBody.required
changed totrue
([349])
Other Changes
/openapi
endpoint now serves documentation in OpenAPI v3.1 format ([333])- MP Parent version deviates from MP Parent TCK BOM version ([573])
- Minimum Java version increased to 11
- Added
module-info
to API jar ([577]) - Update references to JAX-RS to Jakarta RESTful Web Services ([574])