mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-13 16:03:43 +00:00
[java-cxf-cdi] @Api description is deprecated (#22083)
@Api(description=...) is deprecated. Remove its usage: it is not used by swagger-ui, and generated warnings at build
This commit is contained in:
parent
b8d805980a
commit
37cac71f87
@ -27,7 +27,7 @@ import {{javaxPackage}}.validation.Valid;
|
||||
@Path("{{commonPath}}")
|
||||
@RequestScoped
|
||||
|
||||
@Api(description = "the {{{baseName}}} API")
|
||||
@Api
|
||||
{{#hasConsumes}}@Consumes({ {{#consumes}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/consumes}} }){{/hasConsumes}}
|
||||
{{#hasProduces}}@Produces({ {{#produces}}"{{{mediaType}}}"{{^-last}}, {{/-last}}{{/produces}} }){{/hasProduces}}
|
||||
{{>generatedAnnotation}}
|
||||
|
@ -25,7 +25,7 @@ import javax.validation.Valid;
|
||||
@Path("/pet")
|
||||
@RequestScoped
|
||||
|
||||
@Api(description = "the pet API")
|
||||
@Api
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", comments = "Generator version: 7.17.0-SNAPSHOT")
|
||||
|
@ -25,7 +25,7 @@ import javax.validation.Valid;
|
||||
@Path("/store")
|
||||
@RequestScoped
|
||||
|
||||
@Api(description = "the store API")
|
||||
@Api
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", comments = "Generator version: 7.17.0-SNAPSHOT")
|
||||
|
@ -23,7 +23,7 @@ import javax.validation.Valid;
|
||||
@Path("/test/upload")
|
||||
@RequestScoped
|
||||
|
||||
@Api(description = "the test API")
|
||||
@Api
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", comments = "Generator version: 7.17.0-SNAPSHOT")
|
||||
|
@ -24,7 +24,7 @@ import javax.validation.Valid;
|
||||
@Path("/user")
|
||||
@RequestScoped
|
||||
|
||||
@Api(description = "the user API")
|
||||
@Api
|
||||
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaJAXRSCXFCDIServerCodegen", comments = "Generator version: 7.17.0-SNAPSHOT")
|
||||
|
Loading…
x
Reference in New Issue
Block a user