mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-07 23:16:11 +00:00
[Spring] remove deprecated annotation from no-args constructor (#15512)
This commit is contained in:
@@ -37,11 +37,6 @@ public class Animal {
|
||||
|
||||
private String color = "red";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Animal#Animal(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Animal() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -66,11 +66,6 @@ public class BigCat extends Cat {
|
||||
|
||||
private KindEnum kind;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link BigCat#BigCat(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public BigCat() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -34,11 +34,6 @@ public class Cat extends Animal {
|
||||
|
||||
private Boolean declawed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Cat#Cat(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Cat() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -23,11 +23,6 @@ public class Category {
|
||||
|
||||
private String name = "default-name";
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Category#Category(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Category() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -36,11 +36,6 @@ public class ContainerDefaultValue {
|
||||
|
||||
private JsonNullable<List<String>> nullableArrayWithDefault = JsonNullable.undefined();
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link ContainerDefaultValue#ContainerDefaultValue(List<String>, List<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public ContainerDefaultValue() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -26,11 +26,6 @@ public class Dog extends Animal {
|
||||
|
||||
private String breed;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link Dog#Dog(String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Dog() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -177,11 +177,6 @@ public class EnumTest {
|
||||
|
||||
private OuterEnum outerEnum;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link EnumTest#EnumTest(EnumStringRequiredEnum)}
|
||||
*/
|
||||
@Deprecated
|
||||
public EnumTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -57,11 +57,6 @@ public class FormatTest {
|
||||
|
||||
private BigDecimal bigDecimal;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
* @deprecated Use {@link FormatTest#FormatTest(BigDecimal, byte[], LocalDate, String)}
|
||||
*/
|
||||
@Deprecated
|
||||
public FormatTest() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -27,11 +27,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, Set<String>)}
|
||||
*/
|
||||
@Deprecated
|
||||
public Pet() {
|
||||
super();
|
||||
}
|
||||
|
||||
@@ -33,11 +33,6 @@ public class TypeHolderDefault {
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
@@ -35,11 +35,6 @@ public class TypeHolderExample {
|
||||
|
||||
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