Skip to content

fix: remove description siblings from $ref fields#27

Merged
evantahler merged 2 commits into
mainfrom
evantahler/fix-ref-description-siblings
Mar 11, 2026
Merged

fix: remove description siblings from $ref fields#27
evantahler merged 2 commits into
mainfrom
evantahler/fix-ref-description-siblings

Conversation

@evantahler

Copy link
Copy Markdown
Contributor

oapi-codegen v2.6.0 silently drops $ref properties that have description siblings on certain schemas. In OpenAPI 3.0.x, sibling keywords next to $ref are ignored per spec anyway.

Made-with: Cursor

oapi-codegen v2.6.0 silently drops $ref properties that have
description siblings on certain schemas. In OpenAPI 3.0.x, sibling
keywords next to $ref are ignored per spec anyway.

Made-with: Cursor
@evantahler evantahler requested a review from sdreyer March 11, 2026 17:28
@evantahler evantahler merged commit eee60f3 into main Mar 11, 2026
2 checks passed
@evantahler evantahler deleted the evantahler/fix-ref-description-siblings branch March 11, 2026 18:02
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