Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-cookie-parameter.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-cookie-parameter.json
+++ patched
@@ -365,6 +365,16 @@
@@
"get": {
"description": "A simple ping endpoint that does nothing.",
"operationId": "ping",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-default-response.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-default-response.json
+++ patched
@@ -368,6 +368,16 @@
@@
"responses": {
"200": {
"description": "Ping successful"
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-header-parameter.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-header-parameter.json
+++ patched
@@ -365,6 +365,16 @@
@@
"get": {
"description": "A simple ping endpoint that does nothing.",
"operationId": "ping",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-operation-with-id.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-operation-with-id.json
+++ patched
@@ -314,6 +314,17 @@
@@
"summary": "Update an item"
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-operation.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-operation.json
+++ patched
@@ -238,6 +238,16 @@
@@
"summary": "Get arrays"
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-optional-body.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-optional-body.json
+++ patched
@@ -317,6 +317,21 @@
@@
"/no-body": {
"post": {
"operationId": "no_body",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-optional-parameter.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-optional-parameter.json
+++ patched
@@ -257,6 +257,15 @@
@@
"schema": {
"type": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-required-body.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-required-body.json
+++ patched
@@ -317,6 +317,21 @@
@@
"/no-body": {
"post": {
"operationId": "no_body",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-required-parameter.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-required-parameter.json
+++ patched
@@ -257,6 +257,15 @@
@@
"schema": {
"type": "string"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-response-code.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-response-code.json
+++ patched
@@ -368,6 +368,9 @@
@@
"responses": {
"200": {
"description": "Ping successful"
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/add-type-extension.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- add-type-extension.json
+++ patched
@@ -88,7 +88,10 @@
@@
"required": [
"message"
],
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/allof-to-anyof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- allof-to-anyof.json
+++ patched
@@ -58,12 +58,12 @@
@@
}
},
"via_allof": {
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/simple/output/allof-to-oneof-with-type-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- allof-to-oneof-with-type-change.json
+++ patched
@@ -58,12 +58,12 @@
@@
}
},
"via_allof": {
Expand All @@ -16,7 +16,7 @@
},
"via_anyof": {
"anyOf": [
@@ -137,7 +137,7 @@
@@
"SubType": {
"properties": {
"value": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/allof-to-oneof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- allof-to-oneof.json
+++ patched
@@ -58,12 +58,12 @@
@@
}
},
"via_allof": {
Expand Down
4 changes: 2 additions & 2 deletions tests/cases/simple/output/allof-to-ref-with-type-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- allof-to-ref-with-type-change.json
+++ patched
@@ -58,12 +58,7 @@
@@
}
},
"via_allof": {
Expand All @@ -14,7 +14,7 @@
},
"via_anyof": {
"anyOf": [
@@ -136,6 +131,9 @@
@@
},
"SubType": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/allof-to-ref.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- allof-to-ref.json
+++ patched
@@ -58,12 +58,7 @@
@@
}
},
"via_allof": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/any-schema-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- any-schema-change.json
+++ patched
@@ -48,6 +48,7 @@
@@
},
"GreetingResponse": {
"properties": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/anyof-to-allof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- anyof-to-allof.json
+++ patched
@@ -66,12 +66,12 @@
@@
"description": "Via allOf."
},
"via_anyof": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/anyof-to-oneof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- anyof-to-oneof.json
+++ patched
@@ -66,12 +66,12 @@
@@
"description": "Via allOf."
},
"via_anyof": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/anyof-to-ref.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- anyof-to-ref.json
+++ patched
@@ -66,12 +66,7 @@
@@
"description": "Via allOf."
},
"via_anyof": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/array-items-add.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- array-items-add.json
+++ patched
@@ -12,9 +12,6 @@
@@
]
},
"ArrayWithConstraints": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/array-items-remove.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- array-items-remove.json
+++ patched
@@ -146,7 +146,7 @@
@@
"properties": {
"children": {
"items": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/array-max-items-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- array-max-items-change.json
+++ patched
@@ -15,7 +15,7 @@
@@
"items": {
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/array-min-items-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- array-min-items-change.json
+++ patched
@@ -16,7 +16,7 @@
@@
"type": "string"
},
"maxItems": 10,
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/array-unique-items-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- array-unique-items-change.json
+++ patched
@@ -18,7 +18,7 @@
@@
"maxItems": 10,
"minItems": 1,
"type": "array",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/body-description-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- body-description-change.json
+++ patched
@@ -285,6 +285,7 @@
@@
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/body-extension-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- body-extension-change.json
+++ patched
@@ -285,7 +285,8 @@
@@
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/body-optional-to-required.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- body-optional-to-required.json
+++ patched
@@ -304,7 +304,7 @@
@@
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/body-required-to-optional.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- body-required-to-optional.json
+++ patched
@@ -285,7 +285,7 @@
@@
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/boolean-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- boolean-change.json
+++ patched
@@ -159,6 +159,7 @@
@@
"type": "integer"
},
"enabled": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/boolean-enum-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- boolean-enum-change.json
+++ patched
@@ -159,6 +159,9 @@
@@
"type": "integer"
},
"enabled": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/change-default-response.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- change-default-response.json
+++ patched
@@ -451,7 +451,7 @@
@@
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/change-header-parameter.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- change-header-parameter.json
+++ patched
@@ -466,7 +466,7 @@
@@
"name": "X-Request-Id",
"required": true,
"schema": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- change-operation-parameter-requirement.json
+++ patched
@@ -253,7 +253,7 @@
@@
"description": "Language for the greeting",
"in": "query",
"name": "language",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- change-operation-parameter-type.json
+++ patched
@@ -255,7 +255,7 @@
@@
"name": "language",
"required": false,
"schema": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/change-property-type.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- change-property-type.json
+++ patched
@@ -50,7 +50,7 @@
@@
"properties": {
"message": {
"description": "The greeting message",
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/inline-to-allof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- inline-to-allof.json
+++ patched
@@ -246,7 +246,12 @@
@@
"in": "path",
"name": "name",
"schema": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/integer-format-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- integer-format-change.json
+++ patched
@@ -156,6 +156,7 @@
@@
"TypedProperties": {
"properties": {
"count": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/modify-cycle-type.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- modify-cycle-type.json
+++ patched
@@ -145,10 +145,7 @@
@@
"Tree": {
"properties": {
"children": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/multi-allof-variant-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- multi-allof-variant-change.json
+++ patched
@@ -95,7 +95,7 @@
@@
{
"properties": {
"id": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/multi-anyof-variant-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- multi-anyof-variant-change.json
+++ patched
@@ -4,7 +4,7 @@
@@
"AnyOfExample": {
"anyOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/multi-oneof-count-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- multi-oneof-count-change.json
+++ patched
@@ -117,6 +117,9 @@
@@
},
{
"type": "integer"
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/multi-oneof-variant-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- multi-oneof-variant-change.json
+++ patched
@@ -113,7 +113,7 @@
@@
"MultiOneOf": {
"oneOf": [
{
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/not-inner-to-allof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- not-inner-to-allof.json
+++ patched
@@ -54,7 +54,12 @@
@@
},
"not_a_number": {
"not": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/not-to-allof.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- not-to-allof.json
+++ patched
@@ -53,9 +53,14 @@
@@
"type": "string"
},
"not_a_number": {
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/simple/output/number-constraints-change.out
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- number-constraints-change.json
+++ patched
@@ -162,6 +162,7 @@
@@
"type": "boolean"
},
"ratio": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- object-additional-props-false.json
+++ patched
@@ -121,9 +121,7 @@
@@
]
},
"ObjectWithConstraints": {
Expand Down
Loading