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();
|
||||
}
|
||||
|
||||
@@ -29,11 +29,6 @@ public class Cat extends Animal {
|
||||
|
||||
private Boolean declawed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Cat#Cat(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Cat() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -26,11 +26,6 @@ public class Category {
|
||||
|
||||
private String name = "default-name";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Category#Category(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Category() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -29,11 +29,6 @@ public class Dog extends Animal {
|
||||
|
||||
private String breed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Dog#Dog(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Dog() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -180,11 +180,6 @@ public class EnumTest {
|
||||
|
||||
private OuterEnum outerEnum;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link EnumTest#EnumTest(EnumStringRequiredEnum)}
|
||||
*/
|
||||
@Deprecated
|
||||
public EnumTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -60,11 +60,6 @@ public class FormatTest {
|
||||
|
||||
private BigDecimal bigDecimal;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link FormatTest#FormatTest(BigDecimal, byte[], LocalDate, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public FormatTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -31,11 +31,6 @@ public class Name {
|
||||
|
||||
private Integer _123number;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Name#Name(Integer)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Name() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -78,11 +78,6 @@ public class Pet {
|
||||
|
||||
private StatusEnum status;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Pet#Pet(String, List<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Pet() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -36,11 +36,6 @@ public class TypeHolderDefault {
|
||||
@Valid
|
||||
private List<Integer> arrayItem = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link TypeHolderDefault#TypeHolderDefault(String, BigDecimal, Integer, Boolean, List<Integer>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public TypeHolderDefault() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -38,11 +38,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