Browse Source

tests from pr 13314

pull/14878/head
Javier Sánchez 5 months ago
parent
commit
d29fac9e3f
  1. 2
      tests/test_union_body_discriminator_annotated.py

2
tests/test_union_body_discriminator_annotated.py

@ -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…
Cancel
Save