Skip to content

Commit

Permalink
fix: openapi schema should have example not examples under schema
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Aug 15, 2024
1 parent e4af3d3 commit a1954f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prez/models/query_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
description="Number of items per page, must be greater than 0",
),
q: Optional[str] = Query(
None, description="Search query", examples=["building"]
None, description="Search query", example="building"
),
filter: Optional[str] = Query(
None,
Expand Down

0 comments on commit a1954f9

Please sign in to comment.