Skip to content

Use a plain $ref for the create contact request body - #814

Merged
VarshSuresh merged 1 commit into
mainfrom
varsh.suresh/fix-create-contact-request-body
Nov 16, 2026
Merged

VarshSuresh merged 1 commit into
mainfrom
varsh.suresh/fix-create-contact-request-body

Conversation

@VarshSuresh

Copy link
Copy Markdown
Contributor

Why?

In some OpenAPI renderers the create contact request body shows no fields, only the three "Any of" option names. The body wrapped its schema in a one-item oneOf; 2.11 references the schema directly and renders correctly.

How?

References the create contact request schema directly in every other version and in Preview.

Generated with Claude Code

The POST /contacts request body wrapped create_contact_request in a
one-item oneOf. Some renderers then show only the anyOf option names
and none of the fields. Reference the schema directly, as 2.11 does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@VarshSuresh
VarshSuresh requested a review from a team November 16, 2026 14:36
@VarshSuresh
VarshSuresh merged commit f569ff6 into main Nov 16, 2026
4 checks passed
@VarshSuresh
VarshSuresh deleted the varsh.suresh/fix-create-contact-request-body branch November 16, 2026 14:48
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.

2 participants