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.0.4 #4080

Merged
merged 346 commits into from
Oct 24, 2024
Merged

Release v3.0.4 #4080

merged 346 commits into from
Oct 24, 2024

Conversation

handrews and others added 30 commits May 29, 2024 09:09
Co-authored-by: Ralf Handl <[email protected]>
This copies the relevant Parameter Object fields to the Header Object
instead of relying on implicit guidance.  The text for the fields
has been edited to reflect that only headers are being described.

This also include an example of describing a header using the
`content` field, and explaining why it is necessary to do so.
...to placate the PR checks in GitHub.
This backports changes made to the Discriminator Object
in 3.1.1 and merges them with the changes  made on this branch.

Note that the previouc changes incorporated reworked ideas from
@jdesrosiers regarding the ambiguous `mapping` syntax submitted
in the 3.1.1 changes but not accepted at that time due to
compatibility concerns.  This commit merges in the parts of
that 3.1.1 change that were accepted.

For the same compatibility reasons, the MUST wording for
requiring the named discriminator property in the schema
was (regrettably) weakened to a "SHOULD but otherwise undefined",
as we have done for other problematic ambiguities.

Co-authored-by: Jason Desrosiers <[email protected]>
I found the "discriminator value" language confusing, because
`discriminator` is the field name, and in most cases the value
of a field is the value in the OpenAPI Description.

Reviewers did not like "discriminator property value", but
"discriminating value" makes it clear that this is about the
value that actually causes schema selection, and not about
the value of the discriminator keyword.

Also removed placeholder in favor of just having the headings,
as has been done in several other PRs that overlap with
new section PRs for internal linking.
Clarify Link Obj parameters as best we can (3.0.4)
Co-authored-by: Lorna Jane Mitchell <[email protected]>
Co-authored-by: Lorna Jane Mitchell <[email protected]>
Co-authored-by: Lorna Jane Mitchell <[email protected]>
Thanks to @lornajane for the review feedback.
Backport (3.0.4) of merge resolution from #3846
OpenID Connect Discovery URL fix (3.0.4 port of #3718)
Resolution of relative URLs in CommonMark text (3.0.4)
Co-authored-by: Ralf Handl <[email protected]>
When we mention YAML's "Failsafe schema" we give it a lower-case
"schem", as the YAML documentatio does.  We also prefix it with
"YAML".

However, we capitalize "Schema" in "JSON Schema ruleset",
which (given how much JSON Schema is used in the OAS) is a jarring
overlap with "JSON Schema".

This change aligns "YAML JSON schema ruleset" with
"YAML Failsafe ruleset" and explicitly calls out that it is
unrelated to JSON Schema.
This adds the previously standalone security considerations
document as a top-level section just before the appendices.
* Consolidate guidance around examples

The three (four in 3.1) ways of specifying parameter or media type
examples are confusing. There is a lot of guidance that is repeated,
making it harder to see the essentials.  Some of that guidance is
also contradictory, with most saying that the examples SHOULD
match various conditions, but one saying that they MUST.

Research shows that SHOULD was repeatedly advocated, and instances
of MUST corrected back to SHOULD, except for one final commit
where MUST was introduced, and the subsequent commit to revert
to SHOULD seems to have simply missed one instance.  So this
change takes the position that the MUST was an error and weakens
it to SHOULD to match the other four or five places where the
requirement was specified.

* Fix typo in examples changes
Verbose Header Object documentation (3.0.4)
earth2marsh
earth2marsh previously approved these changes Oct 22, 2024
darrelmiller
darrelmiller previously approved these changes Oct 22, 2024
@ralfhandl
Copy link
Contributor Author

I formally approve the changes contained in my pull request 😎

@ralfhandl ralfhandl requested review from handrews, miqui, mikekistler, whitlockjc and webron and removed request for handrews October 22, 2024 13:15
mikekistler
mikekistler previously approved these changes Oct 24, 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. 👍

@lornajane
Copy link
Contributor

Approved!

@ralfhandl ralfhandl marked this pull request as ready for review October 24, 2024 16:17
@ralfhandl ralfhandl requested review from a team as code owners October 24, 2024 16:17
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.

@miqui miqui merged commit b895310 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.