mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
Fix default value generation for composed schemas in AbstractJavaCodegen (#8918)
This commit is contained in:
@@ -54,13 +54,13 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
|
||||
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
|
||||
public class Drawing extends HashMap<String, Fruit> {
|
||||
public static final String JSON_PROPERTY_MAIN_SHAPE = "mainShape";
|
||||
private Shape mainShape = null;
|
||||
private Shape mainShape;
|
||||
|
||||
public static final String JSON_PROPERTY_SHAPE_OR_NULL = "shapeOrNull";
|
||||
private ShapeOrNull shapeOrNull = null;
|
||||
private ShapeOrNull shapeOrNull;
|
||||
|
||||
public static final String JSON_PROPERTY_NULLABLE_SHAPE = "nullableShape";
|
||||
private JsonNullable<NullableShape> nullableShape = JsonNullable.<NullableShape>of(null);
|
||||
private JsonNullable<NullableShape> nullableShape = JsonNullable.<NullableShape>undefined();
|
||||
|
||||
public static final String JSON_PROPERTY_SHAPES = "shapes";
|
||||
private List<Shape> shapes = null;
|
||||
|
||||
Reference in New Issue
Block a user