Skip to content

Conversation

lornajane
Copy link
Contributor

@lornajane lornajane commented Sep 18, 2025

Official candidate release for the 3.2.0 version of OpenAPI Specification.

@OAI/tsc please comment with your vote. The vote remains open for 7 days (until September 25th)

The release notes are available in the summary release notes in #4600

handrews and others added 30 commits June 12, 2025 18:53
…-parameter

3.2: removes the OAS reference object from headers schema definition
Since we are testing with a placeholder, we need to match
the placeholder.  This will unfortunately need to be different
on each new release line branch, so let's separate this test
case into its own file.
Also make the discriminator usage valid.
Test Schema Object extension fields on v3.2-dev
Clarifies that the name of the root XML element comes from
the component name, which was shown in an example but was unclear
due to the use of the obsolete OAS 2.0 terminology "model."

This does not change the restriction (in the `xml` field of the
Schema Object) that the `xml` field only applies to property
schemas (and not root schemas).
This avoids reinforcing the "root schema" vs "property schema"
restriction that we plan to relax.
This change adds a nodeType field to support the four most
commonly used XML node types: element, attribute, text, and cdata.
A fifth nodetype, none, is used to prevent a Schema Object from
producing a node.

This also removes the restriction on where the xml field and
XML Object can appear, as the nodeType system is more flexible
than the old system.

This deprecates two existing fields:

* attribute, replaced by nodeType: attribute
* wrapped, replaced by nodeType: none
Co-authored-by: Ralf Handl <[email protected]>
There really isn't a native `null` type in XML, as both elements
and attributes that are empty have an empty string value.

We also need to leave the behavior implementation-defined
for compatibility.

However, the `xsi:nil` attribute is the closest thing to a `null`
element.  Attributes are harder, and the best I can come up with
is letting `null` behave the same as an omitted attribute for the
purpose of serialization.
The guidance is the same as for serializing `null` and other
non-text data types to text in other text-based media types
such as the form media types.
v3.2: Support all common XML node types (element, attribute, text, cdata)
v3.2: Strengthen generic data types to a SHOULD
Co-authored-by: Ralf Handl <[email protected]>
Since we are testing with a placeholder, we need to match
the placeholder.  This will unfortunately need to be different
on each new release line branch, so let's separate this test
case into its own file.
ralfhandl
ralfhandl previously approved these changes Sep 19, 2025
@lornajane lornajane dismissed ralfhandl’s stale review September 19, 2025 15:39

The merge-base changed after approval.

earth2marsh
earth2marsh previously approved these changes Sep 19, 2025
@earth2marsh
Copy link
Member

Approved

@lornajane lornajane dismissed earth2marsh’s stale review September 19, 2025 15:45

The merge-base changed after approval.

earth2marsh
earth2marsh previously approved these changes Sep 19, 2025
@lornajane lornajane dismissed earth2marsh’s stale review September 19, 2025 15:52

The merge-base changed after approval.

ralfhandl
ralfhandl previously approved these changes Sep 19, 2025
@lornajane lornajane dismissed ralfhandl’s stale review September 19, 2025 15:57

The merge-base changed after approval.

@ralfhandl ralfhandl requested a review from a team September 19, 2025 16:00
ralfhandl
ralfhandl previously approved these changes Sep 19, 2025
@lornajane lornajane dismissed ralfhandl’s stale review September 19, 2025 16:03

The merge-base changed after approval.

ralfhandl
ralfhandl previously approved these changes Sep 19, 2025
@lornajane lornajane dismissed ralfhandl’s stale review September 19, 2025 16:04

The merge-base changed after approval.

@lornajane lornajane closed this Sep 19, 2025
@lornajane lornajane reopened this Sep 19, 2025
@lornajane lornajane requested a review from ralfhandl September 19, 2025 16:14
@lornajane lornajane merged commit 99710bc into main Sep 19, 2025
7 checks passed
@lornajane lornajane deleted the v3.2.0-rel branch September 19, 2025 16:18
@baywet
Copy link
Contributor

baywet commented Sep 19, 2025

🎉🎉🎉🎉🎉

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.

9 participants