mirror of https://github.com/tiangolo/fastapi.git
tests from pr 13314
This commit is contained in:
parent
2693081249
commit
d29fac9e3f
|
|
@ -73,7 +73,7 @@ def test_openapi_schema(client: TestClient) -> None:
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"anyOf": [
|
"oneOf": [
|
||||||
{"$ref": "#/components/schemas/Cat"},
|
{"$ref": "#/components/schemas/Cat"},
|
||||||
{"$ref": "#/components/schemas/Dog"},
|
{"$ref": "#/components/schemas/Dog"},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue