Skip to content

docs(STRINGS-3041): Document supported placeholder_styles values - #1251

Open
Łukasz Ciesielski (lookasc) wants to merge 2 commits into
mainfrom
docs/strings-3041-placeholder-styles-enum
Open

docs(STRINGS-3041): Document supported placeholder_styles values#1251
Łukasz Ciesielski (lookasc) wants to merge 2 commits into
mainfrom
docs/strings-3041-placeholder-styles-enum

Conversation

@lookasc

@lookasc Łukasz Ciesielski (lookasc) commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Purpose

  • The placeholder_styles field on projects (used when creating or updating a project, and returned in project responses) previously had no documented set of valid values, so API clients had no way to know which style keys were accepted.
  • Added an enum listing the currently supported placeholder style keys directly in the schema, so this is now discoverable from the spec instead of requiring guesswork.

https://phrase.atlassian.net/browse/STRINGS-3041

Add an enum of supported placeholder style keys for the
placeholder_styles field on projects (create/update/response schemas),
so API clients can discover valid values instead of guessing.
@github-actions

github-actions Bot commented Sep 3, 2026

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.

A plain enum flags the property as newly type-constrained from the
API consumer's perspective, which the breaking-change check treats as
a breaking change on the request side, and any future style addition
would flag as breaking on the response side. Document the known
values via x-extensible-enum instead, which supports listing/growing
known values without breaking existing or future clients.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant