From d644e86b7c9546a16609976c577c923be209f9ce Mon Sep 17 00:00:00 2001 From: David Habgood Date: Fri, 16 Aug 2024 09:02:29 +1000 Subject: [PATCH] fix: openapi schema should have example not examples under schema (#254) --- prez/models/query_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prez/models/query_params.py b/prez/models/query_params.py index dcbf6f9e..efd032d3 100755 --- a/prez/models/query_params.py +++ b/prez/models/query_params.py @@ -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,