Skip to content

fix: remove description siblings from $ref fields - #28

Closed
evantahler wants to merge 2 commits into
mainfrom
evantahler/fix-ref-description-siblings
Closed

fix: remove description siblings from $ref fields#28
evantahler wants to merge 2 commits into
mainfrom
evantahler/fix-ref-description-siblings

Conversation

@evantahler

Copy link
Copy Markdown
Contributor

Summary

  • Remove description siblings from $ref fields on ToolInfo.metadata and ToolVersionInfo.metadata
  • oapi-codegen v2.6.0 silently drops $ref properties that have description siblings, causing ToolInfo.metadata to be missing from generated Go code
  • In OpenAPI 3.0.x, sibling keywords next to $ref are ignored per spec, so these descriptions had no effect anyway

Context

Follow-up to #26. Discovered during Go codegen in ArcadeAI/monorepo#517.

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 closed this Mar 11, 2026
@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.

1 participant