Skip to content

Commit

Permalink
Fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
TharmiganK committed Dec 15, 2023
1 parent e8b5663 commit 5394da8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,14 @@ public static Schema<?> getOpenApiSchema(String type) {
schema = new ObjectSchema();
schema.setAdditionalProperties(new StringSchema());
break;
case Constants.TYPE_REFERENCE:
case Constants.TYPEREFERENCE:
case Constants.XML:
case Constants.XML_ELEMENT:
case Constants.XML_PROCESSING_INSTRUCTION:
case Constants.XML_TEXT:
case Constants.XML_COMMENT:
case Constants.JSON:
schema = new ObjectSchema();
break;
case Constants.TYPE_REFERENCE:
case Constants.TYPEREFERENCE:
default:
schema = new Schema<>();
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,10 @@ components:
- text
type: object
properties:
comment:
type: object
element:
type: object
processingInstruction:
type: object
text:
type: object
comment: {}
element: {}
processingInstruction: {}
text: {}
BalInts:
required:
- signed
Expand Down

0 comments on commit 5394da8

Please sign in to comment.