You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docs): tag connector endpoints as Connectors for API docs page (#5795)
# What does this PR do?
The `/docs/api-experimental/connectors` page returned a 404 because the
connector endpoints only had the `Admin` tag (inherited from the
`v1alpha_router`). The `Connectors` tag was defined in the OpenAPI spec
but no endpoints used it, so the docusaurus OpenAPI plugin never
generated a page for it.
This adds `tags=["Connectors"]` to the four connector route decorators
in `src/ogx_api/admin/fastapi_routes.py` and regenerates the OpenAPI
specs. The endpoints now carry both `Admin` and `Connectors` tags, so
the plugin generates a dedicated Connectors page.
## Test Plan
1. Run `uv run ./scripts/run_openapi_generator.sh` and verify the
experimental spec has `- Connectors` under each connector endpoint's
tags
2. Run `uv run pre-commit run --all-files` — all checks pass
3. Run `uv run pytest tests/unit/core/ -x` — all 261 tests pass
including `test_openapi_schema_has_connectors_endpoints`
4. Generate docs with `npm run gen-api-docs all` and start dev server —
verify `/docs/api-experimental/connectors` loads correctly
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments