forked from loafle/openapi-generator-original
[Spring] remove deprecated annotation from no-args constructor (#15512)
This commit is contained in:
@@ -41,11 +41,6 @@ public class AnimalDto {
|
||||
|
||||
private String color = "red";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link AnimalDto#AnimalDto(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public AnimalDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -71,11 +71,6 @@ public class BigCatDto extends CatDto {
|
||||
|
||||
private KindEnum kind;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link BigCatDto#BigCatDto(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public BigCatDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -38,11 +38,6 @@ public class CatDto extends AnimalDto {
|
||||
|
||||
private Boolean declawed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link CatDto#CatDto(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public CatDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -28,11 +28,6 @@ public class CategoryDto {
|
||||
|
||||
private String name = "default-name";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link CategoryDto#CategoryDto(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public CategoryDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -41,11 +41,6 @@ public class ContainerDefaultValueDto {
|
||||
@Valid
|
||||
private JsonNullable<List<String>> nullableArrayWithDefault = JsonNullable.undefined();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link ContainerDefaultValueDto#ContainerDefaultValueDto(List<String>, List<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public ContainerDefaultValueDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -31,11 +31,6 @@ public class DogDto extends AnimalDto {
|
||||
|
||||
private String breed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link DogDto#DogDto(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public DogDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -180,11 +180,6 @@ public class EnumTestDto {
|
||||
|
||||
private OuterEnumDto outerEnum;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link EnumTestDto#EnumTestDto(EnumStringRequiredEnum)}
|
||||
*/
|
||||
@Deprecated
|
||||
public EnumTestDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -60,11 +60,6 @@ public class FormatTestDto {
|
||||
|
||||
private BigDecimal bigDecimal;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link FormatTestDto#FormatTestDto(BigDecimal, byte[], LocalDate, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public FormatTestDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -33,11 +33,6 @@ public class NameDto {
|
||||
|
||||
private Integer _123Number;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link NameDto#NameDto(Integer)}
|
||||
*/
|
||||
@Deprecated
|
||||
public NameDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -83,11 +83,6 @@ public class PetDto {
|
||||
|
||||
private StatusEnum status;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link PetDto#PetDto(String, Set<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public PetDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -38,11 +38,6 @@ public class TypeHolderDefaultDto {
|
||||
@Valid
|
||||
private List<Integer> arrayItem = new ArrayList<>(Arrays.asList(0, 1, 2, 3));
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link TypeHolderDefaultDto#TypeHolderDefaultDto(String, BigDecimal, Integer, Boolean, List<Integer>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public TypeHolderDefaultDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -40,11 +40,6 @@ public class TypeHolderExampleDto {
|
||||
@Valid
|
||||
private List<Integer> arrayItem = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link TypeHolderExampleDto#TypeHolderExampleDto(String, BigDecimal, Float, Integer, Boolean, List<Integer>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public TypeHolderExampleDto() {
|
||||
super();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user