You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
Copy file name to clipboardExpand all lines: docs/generators/java-msf4j.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ sidebar_label: java-msf4j
51
51
|sourceFolder|source folder for generated code||src/main/java|
52
52
|title|a title describing the application||OpenAPI Server|
53
53
|useBeanValidation|Use BeanValidation API annotations||true|
54
+
|useTags|use tags for creating interface and controller classnames||false|
54
55
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: docs/generators/jaxrs-cxf-cdi.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ sidebar_label: jaxrs-cxf-cdi
57
57
|title|a title describing the application||OpenAPI Server|
58
58
|useBeanValidation|Use BeanValidation API annotations||true|
59
59
|useSwaggerAnnotations|Whether to generate Swagger annotations.||true|
60
+
|useTags|use tags for creating interface and controller classnames||false|
60
61
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
|useSpringAnnotationConfig|Use Spring Annotation Config||false|
72
72
|useSwaggerFeature|Use Swagger Feature||false|
73
73
|useSwaggerUI|Use Swagger UI||false|
74
+
|useTags|use tags for creating interface and controller classnames||true|
74
75
|useWadlFeature|Use WADL Feature||false|
75
76
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: docs/generators/jaxrs-cxf.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@ sidebar_label: jaxrs-cxf
66
66
|useSpringAnnotationConfig|Use Spring Annotation Config||false|
67
67
|useSwaggerFeature|Use Swagger Feature||false|
68
68
|useSwaggerUI|Use Swagger UI||false|
69
+
|useTags|use tags for creating interface and controller classnames||true|
69
70
|useWadlFeature|Use WADL Feature||false|
70
71
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
|useTags|use tags for creating interface and controller classnames||false|
55
56
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: docs/generators/jaxrs-resteasy.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ sidebar_label: jaxrs-resteasy
51
51
|sourceFolder|source folder for generated code||src/main/java|
52
52
|title|a title describing the application||OpenAPI Server|
53
53
|useBeanValidation|Use BeanValidation API annotations||true|
54
+
|useTags|use tags for creating interface and controller classnames||false|
54
55
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: docs/generators/jaxrs-spec.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ sidebar_label: jaxrs-spec
57
57
|title|a title describing the application||OpenAPI Server|
58
58
|useBeanValidation|Use BeanValidation API annotations||true|
59
59
|useSwaggerAnnotations|Whether to generate Swagger annotations.||true|
60
+
|useTags|use tags for creating interface and controller classnames||false|
60
61
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)||false|
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaJAXRSServerCodegen.java
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/JavaJAXRSSpecServerCodegen.java
0 commit comments