Skip to content

Commit 385e310

Browse files
committed
update tests to use all endpoints
1 parent 6dea715 commit 385e310

File tree

3 files changed

+364
-212
lines changed

3 files changed

+364
-212
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1616

1717
### Fixed
1818

19-
- Issue where token was not being passed from request to POST collections search logic
19+
- Issue where token, query param was not being passed to POST collections search logic
2020
- Issue where datetime param was not being passed from POST collections search logic to Elasticsearch
21+
- Collections search tests to ensure both GET /collections and POST /collections-search endpoints are tested
2122

2223
[v6.5.0] - 2025-09-29
2324

stac_fastapi/core/stac_fastapi/core/extensions/collections_search.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ class CollectionsSearchRequest(ExtendedSearch):
1919

2020
q: Optional[Union[str, List[str]]] = None
2121
token: Optional[str] = None
22+
query: Optional[
23+
str
24+
] = None # Legacy query extension (deprecated but still supported)
2225

2326

2427
class CollectionsSearchEndpointExtension(ApiExtension):

0 commit comments

Comments
 (0)