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
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