Skip to content

Conversation

@mattpolzin
Copy link
Owner

@mattpolzin mattpolzin commented Dec 29, 2025

Closes #445

  • New nodeType field allows mapping schemas to common XML node types: element, attribute, text, cdata, or none.
  • attribute: true is now deprecated in favor of nodeType: attribute.
  • wrapped: true is now deprecated in favor of nodeType: element (as nodeType defaults to none for arrays to preserve compatibility).
  • The xml keyword can be used in any Schema Object.

@mattpolzin mattpolzin linked an issue Dec 29, 2025 that may be closed by this pull request
@mattpolzin mattpolzin marked this pull request as ready for review December 29, 2025 17:33
@mattpolzin
Copy link
Owner Author

This would qualify as a breaking change normally, but the XML Object that is receiving the breaking change was not previously used anywhere in OpenAPIKit so the chances of this breaking downstream source code are nearly 0%.

@mattpolzin mattpolzin merged commit 528e0dc into release/5_0 Dec 29, 2025
14 checks passed
@mattpolzin mattpolzin deleted the feature/445/xml-object-oas-320 branch December 29, 2025 17:35
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.

OAS 3.2.0 XML features

2 participants