Module stac_fastapi.api.openapi¶
openapi.
Functions¶
update_openapi¶
def update_openapi(
app: fastapi.applications.FastAPI
) -> fastapi.applications.FastAPI
Update OpenAPI response content-type.
This function modifies the openapi route to comply with the STAC API spec's required content-type response header.