The changelog and README say API enum fields take names only #326

Closed
opened 2026-11-05 19:14:49 -05:00 by claude · 0 comments
Owner

Part of epic #316.

  • Kind: docs
  • Area: docs
  • Priority: low
  • Milestone: Post-release fixes
  • Agent: docs-writer
  • Depends on: #324
  • Decisions: Q-API-1 (#260)

Why

API callers that sent numbers now get 400. Operators need to know before they upgrade.

What changes

A CHANGELOG.md Unreleased "Behaviour worth knowing" entry, and one sentence in README.md
## REST API.

Acceptance

Source

Architect design for #316: WP-5. CHANGELOG.md:46, README.md:5628.

Work package detail

  • CHANGELOG.md ## Unreleased → ### Behaviour worth knowing: one entry, "Enum fields in API
    requests take names only". Digit strings, numbers and unknown values now give 400 listing the
    valid names. Names are matched without regard to case, and responses are unchanged. Link
    REST API, #296 and #316.
  • README.md ## REST API (line 5628): one sentence near step 3 saying that an enum field takes
    one of the names in the OpenAPI document's enum list, never its number.
  • No ENVIRONMENT.md change.
  • Depends on: #324
  • Gate: none beyond review. Every link and route must resolve.
Part of epic #316. - **Kind:** docs - **Area:** docs - **Priority:** low - **Milestone:** Post-release fixes - **Agent:** docs-writer - **Depends on:** #324 - **Decisions:** Q-API-1 (#260) #### Why API callers that sent numbers now get 400. Operators need to know before they upgrade. #### What changes A `CHANGELOG.md` Unreleased "Behaviour worth knowing" entry, and one sentence in `README.md` `## REST API`. #### Acceptance - [ ] The links resolve, and the entry cites #296 and #316. - [ ] Every item in [Before you finish](https://git.lantea.one/lantea-one/ninlil/src/branch/main/AGENTS.md#before-you-finish) that applies is done. #### Source Architect design for #316: WP-5. `CHANGELOG.md:46`, `README.md:5628`. ### Work package detail - `CHANGELOG.md` `## Unreleased` → `### Behaviour worth knowing`: one entry, "Enum fields in API requests take names only". Digit strings, numbers and unknown values now give 400 listing the valid names. Names are matched without regard to case, and responses are unchanged. Link [REST API](./README.md#rest-api), #296 and #316. - `README.md` `## REST API` (line 5628): one sentence near step 3 saying that an enum field takes one of the names in the OpenAPI document's enum list, never its number. - No `ENVIRONMENT.md` change. - **Depends on:** #324 - **Gate:** none beyond review. Every link and route must resolve.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
lantea-one/ninlil#326
No description provided.