Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The CXF OpenApiFeature allows you to generate OpenAPI v3.0 documents from JAX-RS service endpoints with a simple configuration. This feature can be configured programmatically in Java or using Spring or Blueprint beans.

Setup

<dependency>
    <groupId>org.apache.cxf</groupId>
    <artifactId>cxf-rt-rs-service-description-microprofile-openapi</artifactId>
    <version>3.4.0</version>
</dependency>

The cxf-rt-rs-service-description-microprofile-openapi is only available in 3.4.0. For older releases, please consider OpenApiFeature instead.