Skip to content

[codex] Document error codes as strings#262

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

[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.

@javorosas

Copy link
Copy Markdown
Member Author

Cerrando este PR porque quedó absorbido por #271, que además documenta el shape completo de errores y la lista de códigos.

@javorosas javorosas closed this Jun 16, 2026
@javorosas javorosas deleted the codex/error-code-string-schema branch June 16, 2026 17:45
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