Skip to content

Commit

Permalink
fix: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielarking authored and provinzkraut committed Feb 3, 2024
1 parent 482ddca commit b2951ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litestar/_openapi/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ def create_error_responses(exceptions: list[type[HTTPException]]) -> Iterator[tu
"detail": Schema(type=OpenAPIType.STRING),
"extra": Schema(
any_of=[
Schema(type=OpenAPIType.NULL),
Schema(type=OpenAPIType.OBJECT),
Schema(type=OpenAPIType.NULL),
Schema(type=OpenAPIType.OBJECT),
Schema(type=OpenAPIType.ARRAY, items=Schema())
],
additional_properties=Schema(),
Expand Down

0 comments on commit b2951ef

Please sign in to comment.