Skip to content

Commit

Permalink
pt 6
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Apr 12, 2024
1 parent ee2e59f commit e8a81d8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/integrate_openapi/validate_request_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ def client() -> RestClient:
},
},
"schemas": {
"PseudonymsObject": {
"InfoObject": {
"type": "object",
"properties": {
"alias": {"type": "string"},
"nickname": {"type": "string"},
"rank": {"type": "integer"},
},
},
},
Expand Down Expand Up @@ -163,7 +163,11 @@ def client() -> RestClient:
"application/json": {
"schema": {
"type": "object",
"properties": {"rank": {"type": "integer"}},
"properties": {
"rank": {
"$ref": "#/components/schemas/InfoObject/properties/rank"
},
},
"required": ["rank"],
}
}
Expand Down

0 comments on commit e8a81d8

Please sign in to comment.