mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-20 10:29:03 +00:00
* Adds "useTags" option to all jaxrs code generators (AbstractJAXRSServerCodegen):
- jaxrs-jersey
- jaxrs-spec
- jaxrs-cxf-cdi
- jaxrs-resteasy
- jaxrs-cxf
- jaxrs-cxf-extended
- java-msf4j
- jaxrs-resteasy-eap
* jaxrs-spec
- Changed handling of root paths: e.g "/:", "/{id}:" to simplify code and create a more consistent behaviour
-- old: use tag for classname
-- new: use tag only if useTags is enabled, use "DefaultApi" if not
* @path class level annotation
- for all generators above and the microprofile generator (uses same jaxrs postprocessing)
- extended the "commonPath" to contain more than only the root path if possible
- e.g. "/group1/subgroup1/op1" -> "/group1/subgroup1" is moved to class level annotation
JAX-RS CXF 3 server application
Supported features
- Bean-Validation-API support
- Spring-configuration of Swagger, WADL and Endpoints
- Swagger-API is accessible (CXF3 Swagger2Feature)
- Swagger-UI can be included as Web-Jar automatically
- WADL is accessible (CXF WADL-Generator)
- Unit-tests include Gzip-Interceptors for demonstration
- Options for generating a functional mock server returning static responses
URLs to access the REST API
URLs for Spring Boot
-
Available services listing http://localhost:8080/
-
CXF WADL http://localhost:8080/services?_wadl
URLs if deployed to an Application Server
-
Available services listing http://localhost:8080/swagger-cxf-server/rest/services/
-
OpenAPI
http://localhost:8080/swagger-cxf-server/rest/services/swagger.json -
CXF WADL http://localhost:8080/swagger-cxf-server/rest/services?_wadl