Versions Compared

Key

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

...

The cxf-rt-rs-service-description-openapi-v3 is only available in 3.2.x and above due to Java 8 baseline. For older releases, as well as for the users of older Swagger specifications 1.x/2.x, the there is a dedicated converter provided: org.apache.cxf.jaxrs.swagger.openapi.SwaggerToOpenApiConversionFilter.

...

It is possible to supply the configuration from the property files. The default location for a properties file is "/swagger.properties". OpenApiFeature will pick it up if it is available, and the location can be overridden with a 'propertiesLocation' property.  Additionally, the complete OpenAPI configuration could be supplied from the property file (usually openapi-configuration.json or openapi-configuration.yml), controlled by 'configLocation' property. Please take into account that there is a certain level of the overlap between both.

...

Spring Boot auto configuration

 Please consult samples/jax_rs/spring_boot and on how to create OpenApiFeature as a @Bean and samples/jax_rs/spring_boot_scan on how to auto-enable it.

Enabling Swagger UI

Adding a Swagger UI Maven dependency is all what is needed to start accessing Swagger documents with the help of Swagger UI.

...