Skip to content

Commit 374b75a

Browse files
committed
feat: add openapi endpoint as default public endpoint
1 parent 814145d commit 374b75a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stac_auth_proxy/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Settings(BaseSettings):
2626
# https://stac-utils.github.io/stac-fastapi/api/stac_fastapi/extensions/third_party/bulk_transactions/#bulktransactionextension
2727
"/collections/{collection_id}/bulk_items": ["POST"],
2828
}
29-
public_endpoints: EndpointMethods = {"/api.html": ["GET"]}
29+
public_endpoints: EndpointMethods = {"/api.html": ["GET"], "/api": ["GET"]}
3030
openapi_spec_endpoint: Optional[str] = None
3131

3232
model_config = SettingsConfigDict(env_prefix="STAC_AUTH_PROXY_")

0 commit comments

Comments
 (0)