Skip to content

Commit af9c0fe

Browse files
committed
fixed openapi failing test
1 parent 92ded72 commit af9c0fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_routing/test_body_union_schema.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ def save_union_body_and_embedded_body(
2929
"paths": {
3030
"/items/": {
3131
"post": {
32-
"operationId": "save_union_body_items__post",
32+
"operationId": "save_union_body_and_embedded_body_items__post",
3333
"requestBody": {
3434
"content": {
3535
"application/json": {
3636
"schema": {
37-
"$ref": "#/components/schemas/body_save_union_body_items__post"
37+
"$ref": "#/components/schemas/body_save_union_body_and_embedded_body_items__post"
3838
}
3939
}
4040
},
@@ -102,8 +102,8 @@ def save_union_body_and_embedded_body(
102102
"type": {"title": "Error Type", "type": "string"},
103103
},
104104
},
105-
"body_save_union_body_items__post": {
106-
"title": "body_save_union_body_items__post",
105+
"body_save_union_body_and_embedded_body_items__post": {
106+
"title": "body_save_union_body_and_embedded_body_items__post",
107107
"required": ["item"],
108108
"type": "object",
109109
"properties": {

0 commit comments

Comments
 (0)