We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5c57b5 commit 693a204Copy full SHA for 693a204
stac_fastapi/pgstac/app.py
@@ -81,7 +81,9 @@
81
items_get_request_model = ItemCollectionUri
82
83
if any(isinstance(ext, CollectionSearchExtension) for ext in collection_extensions):
84
- collections_get_request_model = CollectionSearchExtension().GET
+ collections_get_request_model = create_get_request_model(
85
+ extensions + collection_extensions
86
+ )
87
else:
88
collections_get_request_model = EmptyRequest
89
@@ -98,6 +100,7 @@
98
100
items_get_request_model=items_get_request_model,
99
101
search_get_request_model=get_request_model,
102
search_post_request_model=post_request_model,
103
+ collections_get_request_model=collections_get_request_model,
104
)
105
app = api.app
106
0 commit comments