Skip to content

Fix OpenAPI example id type to string#3107

Open
pwizla wants to merge 1 commit intomainfrom
cms/fix-openapi-id-type
Open

Fix OpenAPI example id type to string#3107
pwizla wants to merge 1 commit intomainfrom
cms/fix-openapi-id-type

Conversation

@pwizla
Copy link
Copy Markdown
Collaborator

@pwizla pwizla commented Apr 29, 2026

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
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

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 Pending Strapi Release label Apr 29, 2026
@pwizla pwizla self-assigned this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: merge pending release Pending Strapi Release 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