Skip to content
Open
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
86 changes: 70 additions & 16 deletions end_to_end_tests/baseline_openapi_3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,9 @@
},
"/naming/mixed-case": {
"get": {
"tags": ["naming"],
"tags": [
"naming"
],
"operationId": "mixed_case",
"parameters": [
{
Expand All @@ -1436,30 +1438,32 @@
}
],
"responses": {
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mixed_case": {
"type": "string"
},
"mixedCase": {
"type": "string"
}
"200": {
"description": "Successful response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mixed_case": {
"type": "string"
},
"mixedCase": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/naming/{hyphen-in-path}": {
"get": {
"tags": ["naming"],
"tags": [
"naming"
],
"operationId": "hyphen_in_path",
"parameters": [
{
Expand Down Expand Up @@ -2643,6 +2647,56 @@
"type": "string"
}
}
},
"OneOfBlockWithReferences": {
"oneOf": [
{
"type": "string",
"description": "OneOfBlockOneDescription",
"enum": [
"OneOfBlockOne"
]
},
{
"type": "object",
"required": [
"OneOfBlockTwo"
],
"properties": {
"OneOfBlockTwo": {
"$ref": "#/components/schemas/OneOfBlockTwo"
}
}
},
{
"type": "object",
"required": [
"OneOfBlockThree"
],
"properties": {
"OneOfBlockThree": {
"$ref": "#/components/schemas/OneOfBlockThree"
}
}
}
]
},
"OneOfBlockTwo": {
"type": "integer",
"format": "int32",
"description": "OneOfBlockTwoDescription",
"minimum": 0
},
"OneOfBlockThree": {
"$ref": "#/components/schemas/OneOfBlockThreeRef"
},
"OneOfBlockThreeRef": {
"type": "array",
"items": {
"type": "number",
"format": "double"
},
"description": "OneOfBlockThreeRefDescription"
}
},
"parameters": {
Expand Down Expand Up @@ -2711,4 +2765,4 @@
}
}
}
}
}
Loading