Skip to content

[codex] Document error codes as strings#262

Draft
javorosas wants to merge 1 commit into
mainfrom
codex/error-code-string-schema
Draft

[codex] Document error codes as strings#262
javorosas wants to merge 1 commit into
mainfrom
codex/error-code-string-schema

Conversation

@javorosas
Copy link
Copy Markdown
Member

What changed

  • Updated the v2 OpenAPI error schema in Spanish and English so code is documented as string only.

Why

The API is normalizing public error codes to string identifiers, so the documentation should no longer advertise integer error codes.

Validation

  • Parsed website/openapi_v2.yaml and website/openapi_v2.en.yaml with js-yaml.

Note: PyYAML still fails on an existing timestamp issue in the spec, unrelated to this change.

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