Skip to content

Align service info and query parameter docs #313

Closed

Description

@uniqueg

Found in the whole-repo pre-release review for v1.0.0rc1 (findings L5 and L6). Two small, related API documentation/behaviour mismatches.

max_unused_service_types in controlled mode (L5)

In the controlled service type mode, users can't add service types (403), but /service-info still advertises the configured max_unused_service_types (e.g., 10). The schema, the docstring and the docs say the value is 0 in that case.

Fix: serve max_unused_service_types: 0 in controlled mode, and align the schema and docs.

Unknown query parameters (L6)

docs/api.md says that requests with unknown query parameters get 400. Operations that declare no parameters accept them silently, because Connexion attaches its parameter validator only to operations with parameters: GET /services?x=1 returns 200 with the full list. The existing test uses an operation that has a path parameter.

Fix: narrow the docs sentence (or reject unknown query parameters globally if that is simple and safe), and test GET /services?x=1.

Activity

  1. added this to the v1.0.0-rc1 milestone on Nov 1, 2026
  2. added
    priority: low
    status: triage
    type: bug
    workload: hours
    status: in progress
    and removed
    status: triage
    on Nov 1, 2026
  3. removed
    status: in progress
    on Nov 1, 2026
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

    priority: lowtype: bugworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions