forked from loafle/openapi-generator-original
[Spring] remove deprecated annotation from no-args constructor (#15512)
This commit is contained in:
@@ -39,11 +39,6 @@ public class Animal {
|
||||
|
||||
private String color = "red";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Animal#Animal(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Animal() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -68,11 +68,6 @@ public class BigCat extends Cat {
|
||||
|
||||
private KindEnum kind;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link BigCat#BigCat(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public BigCat() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -36,11 +36,6 @@ public class Cat extends Animal {
|
||||
|
||||
private Boolean declawed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Cat#Cat(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Cat() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -25,11 +25,6 @@ public class Category {
|
||||
|
||||
private String name = "default-name";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Category#Category(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Category() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -38,11 +38,6 @@ public class ContainerDefaultValue {
|
||||
@Valid
|
||||
private JsonNullable<List<String>> nullableArrayWithDefault = JsonNullable.undefined();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link ContainerDefaultValue#ContainerDefaultValue(List<String>, List<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public ContainerDefaultValue() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -28,11 +28,6 @@ public class Dog extends Animal {
|
||||
|
||||
private String breed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Dog#Dog(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Dog() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -179,11 +179,6 @@ public class EnumTest {
|
||||
|
||||
private OuterEnum outerEnum;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link EnumTest#EnumTest(EnumStringRequiredEnum)}
|
||||
*/
|
||||
@Deprecated
|
||||
public EnumTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -59,11 +59,6 @@ public class FormatTest {
|
||||
|
||||
private BigDecimal bigDecimal;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link FormatTest#FormatTest(BigDecimal, byte[], LocalDate, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public FormatTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -30,11 +30,6 @@ public class Name {
|
||||
|
||||
private Integer _123number;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Name#Name(Integer)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Name() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -80,11 +80,6 @@ public class Pet {
|
||||
|
||||
private StatusEnum status;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Pet#Pet(String, Set<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Pet() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -35,11 +35,6 @@ public class TypeHolderDefault {
|
||||
@Valid
|
||||
private List<Integer> arrayItem = new ArrayList<>(Arrays.asList(0, 1, 2, 3));
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link TypeHolderDefault#TypeHolderDefault(String, BigDecimal, Integer, Boolean, List<Integer>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public TypeHolderDefault() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -37,11 +37,6 @@ public class TypeHolderExample {
|
||||
@Valid
|
||||
private List<Integer> arrayItem = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link TypeHolderExample#TypeHolderExample(String, BigDecimal, Float, Integer, Boolean, List<Integer>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public TypeHolderExample() {
|
||||
super();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user