mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 06:30:52 +00:00
Manually add annotations since the remote pipeline insists that they should be there
This commit is contained in:
parent
6f929fb7fe
commit
a8b2adf5ba
@ -47,6 +47,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
|||||||
|
|
||||||
public class Animal {
|
public class Animal {
|
||||||
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
||||||
|
@jakarta.annotation.Nonnull
|
||||||
protected String className;
|
protected String className;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_COLOR = "color";
|
public static final String JSON_PROPERTY_COLOR = "color";
|
||||||
|
@ -83,6 +83,7 @@ public class ParentWithNullable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_TYPE = "type";
|
public static final String JSON_PROPERTY_TYPE = "type";
|
||||||
|
@jakarta.annotation.Nullable
|
||||||
protected TypeEnum type;
|
protected TypeEnum type;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
||||||
|
@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
|||||||
|
|
||||||
public class Animal {
|
public class Animal {
|
||||||
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
||||||
|
@jakarta.annotation.Nonnull
|
||||||
protected String className;
|
protected String className;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_COLOR = "color";
|
public static final String JSON_PROPERTY_COLOR = "color";
|
||||||
|
@ -82,6 +82,7 @@ public class ParentWithNullable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_TYPE = "type";
|
public static final String JSON_PROPERTY_TYPE = "type";
|
||||||
|
@jakarta.annotation.Nullable
|
||||||
protected TypeEnum type;
|
protected TypeEnum type;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
||||||
|
@ -46,6 +46,7 @@ import com.fasterxml.jackson.annotation.JsonTypeName;
|
|||||||
|
|
||||||
public class Animal {
|
public class Animal {
|
||||||
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
public static final String JSON_PROPERTY_CLASS_NAME = "className";
|
||||||
|
@jakarta.annotation.Nonnull
|
||||||
protected String className;
|
protected String className;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_COLOR = "color";
|
public static final String JSON_PROPERTY_COLOR = "color";
|
||||||
|
@ -82,6 +82,7 @@ public class ParentWithNullable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_TYPE = "type";
|
public static final String JSON_PROPERTY_TYPE = "type";
|
||||||
|
@jakarta.annotation.Nullable
|
||||||
protected TypeEnum type;
|
protected TypeEnum type;
|
||||||
|
|
||||||
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
public static final String JSON_PROPERTY_NULLABLE_PROPERTY = "nullableProperty";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user