[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:
Antoine Reilles 2025-10-06 20:10:20 +02:00 committed by GitHub
parent b8d805980a
commit 37cac71f87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -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}}

View File

@ -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")

View File

@ -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")

View File

@ -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")

View File

@ -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")