Skip to content

Commit 860c635

Browse files
K5qu4r3dewaostrowska
authored andcommitted
fix: remove "type" and "types" value declarations from OBJECT enum
1 parent 156a10e commit 860c635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-core/src/main/java/io/swagger/v3/core/util/PrimitiveType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public Schema createProperty() {
239239
}
240240
@Override
241241
public Schema createProperty31() {
242-
return new JsonSchema().typesItem("object").type("object");
242+
return new JsonSchema();
243243
}
244244
};
245245

0 commit comments

Comments
 (0)