Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v3.1.1 #4082

Merged
merged 333 commits into from
Oct 24, 2024
Merged

Release v3.1.1 #4082

merged 333 commits into from
Oct 24, 2024

Conversation

handrews and others added 30 commits April 24, 2024 09:49
These should have the parameter name in the resulting string (see issue #3737).
Co-authored-by: Ralf Handl <[email protected]>
Co-authored-by: Ralf Handl <[email protected]>
Co-authored-by: Ralf Handl <[email protected]>
Co-authored-by: Ralf Handl <[email protected]>
Limit interoperable parsing expectations (avoid type conflicts)
Be more clear about `format` support (3.1.1)
The "undefined" wording was chosen to allow implementations
that make a good-faith effort to accommodate non-string values
to remain compliant.  However, new implementations are not
expected to implement any sort of type coersion, and this
guides API designers away from that expectation.
The previous wording could be read to only restrict what sort
of request bodies could use an Encoding Object, while allowing that
it could be used with other entities that use a Media Type Object.

This emphasizes that it is only relevant to Request Body Objects,
and within that, only for specific media types.
The OAS does not define how to avoid collisions between parameter
values and style delimiters.  Mostly, this is straightforward,
but the need to URL encode space characters introduces extra
confusion.  Make it clear that managing this occurs outside
of the use of style, and is the responsibility of users.
JSON Schema draft 2020-12 includes numerous keywords that require
parsing the entire document prior to deeming a reference unresolvable.
This makes that more clear and outlines several approaches.

The practice of embedding OpenAPI fragments in other formats is
deemed to have implementation-defined (non-interoperable) behavior,
as the potential complications that might arise are not predictable.
Also, remove the example that goes against the advice in the
updated binary-handling section.
Clarify how to model binary data in 3.1
Correctly escape example operationRef URLs (3.1.1 port of #3731)
Non-string discriminator values (3.1.1 port of #3728)
Clarify spaceDelimited with spaces in values (3.1.1 port of #3723)
Clarify wording on encoding field (3.1.1 port of #3724)
If no Encoding Object is provided, the behavior is the same as
an empty Encoding Object, as none of its fields are required.
Also make the translation from 3.0 binary modeling a subsection,
as otherwise the line about streaming either feels randomly inserted
into the middle of the section, or feels disconnected when placed
after the conversion table.
This goes into more detail and uses "undefined" instead of
"implementation-defined" as the behavior is likely to be
incorrect (rather than just a different interpretationof an
ambiguous requirement), and may result in security concerns
as well.
earth2marsh
earth2marsh previously approved these changes Oct 22, 2024
Copy link
Contributor

@mikekistler mikekistler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. 👍

I approve this for release.

@lornajane
Copy link
Contributor

I approve this release

@miqui miqui merged commit 69d8b79 into main Oct 24, 2024
4 checks passed
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.