Skip to content

Conversation

handrews
Copy link
Member

@handrews handrews commented Sep 8, 2025

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.

  • schema changes are included in this pull request
  • schema changes are needed for this pull request but not done yet
  • 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.
@handrews handrews added this to the v3.2.0 milestone Sep 8, 2025
@handrews handrews added the editorial Wording and stylistic issues label Sep 8, 2025
@handrews handrews requested review from a team as code owners September 8, 2025 01:27
Copy link
Contributor

@ralfhandl ralfhandl left a comment

Choose a reason for hiding this comment

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

+1, only one nit

@ralfhandl ralfhandl requested review from a team and removed request for a team September 8, 2025 13:25
mikekistler
mikekistler previously approved these changes Sep 8, 2025
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. 👍

@handrews handrews changed the title Oad2 v3.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
Member Author

handrews commented Sep 8, 2025

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 team September 8, 2025 16:05
Copy link
Contributor

@lornajane lornajane left a comment

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-dev Sep 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial Wording and stylistic issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants