Skip to content

v3.2: Refactor and streamline OpenAPI Description Structure sections (take 2) - #4927

Merged
lornajane merged 5 commits into
OAI:v3.2-devfrom
handrews:oad2
Sep 9, 2025
Merged

v3.2: Refactor and streamline OpenAPI Description Structure sections (take 2)#4927
lornajane merged 5 commits into
OAI:v3.2-devfrom
handrews:oad2

Conversation

@handrews

@handrewshandrews commented Sep 8, 2025

Copy link
Copy Markdown
Member

Replacement for PR #4918 – please review carefully, I've rewritten this too many times across too many widely separated days which is getting a bit confusing for me.

This further streamlines things and gets rid of "Document" vs "document" by banishing discussion of what had been "documents" to Appendix G, and saying that unless otherwise specified, "document" (regardless of capitalization) refers to documents having either an OpenAPI Object or Schema Object at the root.

I have updated the rendered page on my personal github pages.

This has two commits (one for moves, one for changes, more or less) as with #4918.

Please let me know if you want other ways of looking at diffs that I did for that other PR.

  • no schema changes are needed for this pull request

* Remove "OpenAPI Description" and "OpenAPI Document" section
headings and reorder those paragraphs and the intro
"OpenAPI Description Structure" paragraph to define the terms inline
* Switch Appendixes F and G
* F->G stays as-is, with base URI examples
* G->F is expanded to a more general
"Parsing and Resolution Guidance" section
* Move several pieces of "Parsing Documents" to Appendix G
* How to parse complete documents as the intro section
* A "Warnings Regarding Fragmentary Parsing" section
* Move "Structural Interoperability" under Appendix G and rename
it to "Conflicts Between Field Types and Reference Contexts"
* Move most of "Resolving Implicit Connections to Appendix G and
rename it "Guidance Regarding Implicit Connections"
* Put the original Section F implicit connection examples as
a "Implicit Connection Resolution Examples" subsection
Minimal adjustments were made to links to keep the build functional.
A lot of what was here is no longer needed, and other things can
be said better either because of the new arrangement or because
I thought of better wording since I first wrote things.
In particular, get rid of the awkward Document vs document distinction
by banishing discussion of small-d documents to the appendix.
@handrewshandrews added this to the v3.2.0 milestone Sep 8, 2025
@handrewshandrews added the editorial Wording and stylistic issues label Sep 8, 2025
@handrews
handrews requested review from a team as code ownersSeptember 8, 2025 01:27

@ralfhandlralfhandl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1, only one nit

Comment threadsrc/oas.md Outdated
@ralfhandl
ralfhandl requested review from a team and removed request for a teamSeptember 8, 2025 13:25
mikekistler
mikekistler previously approved these changes Sep 8, 2025

@mikekistlermikekistler left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good. 👍

Comment threadsrc/oas.md Outdated
@handrewshandrews changed the title Oad2v3.2: Refactor and streamline OpenAPI Description Structure sections (take 2)Sep 8, 2025
Co-authored-by: Ralf Handl <ralf.handl@sap.com>
@handrews

Copy link
Copy Markdown
MemberAuthor

Also added a commit to fix the inaccurate statement about info.version in the openapi field... and we wonder why people keep being confused... 🤦

ralfhandl
ralfhandl previously approved these changes Sep 8, 2025
@ralfhandl
ralfhandl requested a review from a teamSeptember 8, 2025 16:05

@lornajanelornajane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing this!

@lornajane
lornajane merged commit 1e94ea4 into OAI:v3.2-devSep 9, 2025
2 checks passed
@handrewshandrews mentioned this pull request Sep 9, 2025
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorialWording and stylistic issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@handrews@lornajane@ralfhandl@mikekistler