Skip to content

Commit

Permalink
fix: openapi schema should have example not examples under schema (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Aug 15, 2024
1 parent 64e6d80 commit d644e86
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 d644e86

Please sign in to comment.