Skip to content

BUG-01: ReDoc has no tag groups, tag descriptions or plugin versions #128

Closed

Description

@ephico2real2

Part of #13

What is wrong: ReDoc shows the tags in one flat list. The spec has no x-tagGroups and no top-level tags with descriptions. No operation has x-plugin-version.

Where: cmapi/src/cmapi/main.py:53 builds the FastAPI app without openapi_tags. cmapi/src/cmapi/core/docs.py (class DocumentedRouter) does not add the plugin version. The design is docs/01-design-and-architecture.md:726 and the row above it.

How to prove it: In cmapi/, with the service test database on port 55432, write a test that uses the world fixture and reads GET /openapi.json. The assertion below fails on 0c79108 and must pass after the fix.

Measured or inferred: Measured on 2026-11-13 with the world fixture of the service suite, at 0c79108 on branch ldap-rbac-names. No cluster. The spec has OpenAPI 3.1.0 and 31 operations.

Measured: spec["x-tagGroups"] is null and spec["tags"] is null.

Severity: Low.

What must hold after the fix: x-tagGroups has the six groups of docs/01: Namespaces and metadata, Access, Capacity and placement, Requests and approvals, Operations, Admin. Each tag is in exactly one group. Each tag has a description from its plugin. Each operation has x-plugin-version. A disabled plugin is not in the spec.

Research: Read the ReDoc documentation of the x-tagGroups vendor extension for the ReDoc version in the image (3.0.1).

Class: INV. The fix adds a part of the documentation layer that the design specifies and that was not built.

Activity

  1. added
    bug
    class:INV
    status:open
    sev:low
    Backlog
    on Nov 13, 2026
  2. added
    In-Progress
    and removed
    Backlog
    on Nov 13, 2026
  3. ephico2real2 commented on Nov 13, 2026

    @ephico2real2
    OwnerAuthor

    In-Progress: draft pull request #135 closes this issue. CI run 43400342375 on 3ea7aa1: api-contract, service, portal-ui, portal-mockup and reference-code passed; manifests was still running when this was written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-Progressbugclass:INVsev:lowstatus:open

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions