|
@ -129,13 +129,13 @@ def test_openapi_schema(client: TestClient): |
|
|
"schema": {"type": "string", "title": "Host"}, |
|
|
"schema": {"type": "string", "title": "Host"}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"name": "save_data", |
|
|
"name": "save-data", |
|
|
"in": "header", |
|
|
"in": "header", |
|
|
"required": True, |
|
|
"required": True, |
|
|
"schema": {"type": "boolean", "title": "Save Data"}, |
|
|
"schema": {"type": "boolean", "title": "Save Data"}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"name": "if_modified_since", |
|
|
"name": "if-modified-since", |
|
|
"in": "header", |
|
|
"in": "header", |
|
|
"required": False, |
|
|
"required": False, |
|
|
"schema": IsDict( |
|
|
"schema": IsDict( |
|
@ -171,7 +171,7 @@ def test_openapi_schema(client: TestClient): |
|
|
), |
|
|
), |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"name": "x_tag", |
|
|
"name": "x-tag", |
|
|
"in": "header", |
|
|
"in": "header", |
|
|
"required": False, |
|
|
"required": False, |
|
|
"schema": { |
|
|
"schema": { |
|
|