Skip to content

Fix OpenAPI example id type to string#3107

Merged
pwizla merged 1 commit into
mainfrom
cms/fix-openapi-id-type
May 6, 2026
Merged

Fix OpenAPI example id type to string#3107
pwizla merged 1 commit into
mainfrom
cms/fix-openapi-id-type

Conversation

@pwizla

@pwizla pwizla commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes the Article schema example in the OpenAPI page to use id: string instead of id: integer, matching Strapi v5's documentId behavior (strapi/strapi#26067).

Follow-ups (out of scope):

  • Regenerate static/example-openapi-spec.json against a Strapi 5.44+ project (same integerstring fix needed)
  • Confirm the core CLI generator (@strapi/openapi) also emits id: string

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Apr 29, 2026 2:12pm

Request Review

@github-actions github-actions Bot added internal PRs created by the Strapi core team pr: chore source: CMS labels Apr 29, 2026
@pwizla pwizla added this to the 6.24.0 milestone Apr 29, 2026
@pwizla pwizla added the flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR label Apr 29, 2026
@pwizla pwizla self-assigned this Apr 29, 2026
@pwizla pwizla removed the flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR label May 6, 2026
@pwizla pwizla merged commit a1e8c4f into main May 6, 2026
11 of 12 checks passed
@pwizla pwizla deleted the cms/fix-openapi-id-type branch May 6, 2026 12:01
pwizla added a commit that referenced this pull request May 6, 2026
… (#3107) (#3132)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal PRs created by the Strapi core team pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant