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 f8fdb58 commit 802e469Copy full SHA for 802e469
runtimes/eoapi/vector/eoapi/vector/app.py
@@ -15,6 +15,7 @@
15
from tipg.errors import DEFAULT_STATUS_CODES, add_exception_handlers
16
from tipg.factory import Endpoints as TiPgEndpoints
17
from tipg.middleware import CacheControlMiddleware, CatalogUpdateMiddleware
18
+from tipg.openapi import _update_openapi
19
from tipg.settings import DatabaseSettings
20
21
from . import __version__ as eoapi_vector_version
@@ -75,6 +76,9 @@ async def lifespan(app: FastAPI):
75
76
},
77
)
78
79
+# Fix OpenAPI response header for OGC Common compatibility
80
+_update_openapi(app)
81
+
82
# add eoapi_vector templates and tipg templates
83
jinja2_env = jinja2.Environment(
84
loader=jinja2.ChoiceLoader(
0 commit comments