[JavaSpring] Generate deprecated property, annotation and javadoc. (#16493)

* [JavaSpring] Generate deprecated annotation and doc properties

* [JavaSpring] Generate deprecated for @Schema

* [JavaSpring] Add sample folder to workflow

---------

Co-authored-by: Diego Urban <d.urban@carepay.com>
This commit is contained in:
Diego Urban
2023-09-06 09:55:15 +02:00
committed by GitHub
parent 270238e060
commit 3817e40f47
73 changed files with 2340 additions and 34 deletions

View File

@@ -82,6 +82,7 @@ public class PetDto {
}
}
@Deprecated
private StatusEnum status;
public PetDto() {
@@ -221,14 +222,20 @@ public class PetDto {
/**
* pet status in the store
* @return status
* @deprecated
*/
@ApiModelProperty(value = "pet status in the store")
@JsonProperty("status")
@Deprecated
public StatusEnum getStatus() {
return status;
}
/**
* @deprecated
*/
@Deprecated
public void setStatus(StatusEnum status) {
this.status = status;
}