Skip to content

[codex] Respect OpenAPI media types - #37

Merged
k-kinzal merged 1 commit into
mainfrom
codex/respect-openapi-media-types
Jul 4, 2026
Merged

[codex] Respect OpenAPI media types#37
k-kinzal merged 1 commit into
mainfrom
codex/respect-openapi-media-types

Conversation

@k-kinzal

@k-kinzal k-kinzal commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Select request and response media types from the OpenAPI content map instead of always emitting JSON.
  • Serialize generated payloads for JSON, text/*, and application/x-www-form-urlencoded media types.
  • Add schema-level fake data generation for non-JSON payloads so media types unsupported by the operation-level faker still work.

Validation

  • composer test
  • composer lint

@k-kinzal
k-kinzal marked this pull request as ready for review July 4, 2026 16:18
@k-kinzal
k-kinzal merged commit cb73f98 into main Jul 4, 2026
57 checks passed
@k-kinzal
k-kinzal deleted the codex/respect-openapi-media-types branch July 4, 2026 16:19
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