Skip to content

docs(API): Enrich cldr_version field description on project create/update - #1269

Merged
Sven Dunemann (forelabs) merged 1 commit into
mainfrom
agent/STRINGS-3250-09a9d2
Sep 14, 2026
Merged

Sven Dunemann (forelabs) merged 1 commit into
mainfrom
agent/STRINGS-3250-09a9d2

Conversation

@junior-ai-bot

@junior-ai-bot junior-ai-bot Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

What changed

Enriched the cldr_version field description on POST /projects (paths/projects/create.yaml) and PATCH /projects/{id} (paths/projects/update.yaml) to explain the legacy vs. CLDR-version-string (e.g. cldr48) distinction, mirroring the existing (but search-unreachable) explanation already present on POST /icu/skeleton's cldr_version field. The project-level field also now cross-references the ICU skeleton endpoint, since both share the same enum values.

Also regenerated doc/compiled.json via make lint (bundling step), which reflects the same description changes.

Why

An Atlas user query about what changes when switching a Strings project's Unicode CLDR version from LEGACY to CLDR48 was undiscoverable via the Strings OpenAPI search index. The correct explanation existed only on POST /icu/skeleton's cldr_version field description (a nested request-body field, which Atlas's scorer doesn't weight), while the project-level cldr_version field — the one users actually interact with — had only a terse one-line description with no legacy/CLDR48 explanation at all.

This surfaces the explanation directly on the project-level field so it's reachable regardless of search-scorer weighting, and is a documentation-only change with no behavioral impact.

Related ticket: STRINGS-3250

How to test

  • make lint passes (npx swagger-cli validate main.yaml + bundle + lint.sh) — verified locally, no validation errors.
  • Docs-only change to OpenAPI field descriptions; no code/logic changes, so no unit tests apply.

Co-Authored-By: junior-dev

🤖 Generated with Claude Code

…e/update

The project-level cldr_version field only had a terse description with no
explanation of the legacy/CLDR48 distinction, unlike POST /icu/skeleton's
richer (but search-unreachable) description of the same enum. Mirror that
text on POST /projects and PATCH /projects/{id} so the distinction is
discoverable from the field users actually interact with.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes to report, but the specs are different.
Run 'oasdiff diff' to see structural differences.

@forelabs Sven Dunemann (forelabs) changed the title STRINGS-3250 - Enrich cldr_version field description on project create/update docs(API): Enrich cldr_version field description on project create/update Sep 14, 2026
@forelabs
Sven Dunemann (forelabs) merged commit fb18f26 into main Sep 14, 2026
16 of 19 checks passed
@forelabs
Sven Dunemann (forelabs) deleted the agent/STRINGS-3250-09a9d2 branch September 14, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant