Skip to content

Describe OpenAPI entry point in OpenAPI description docs #3387

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

Merged

Conversation

duncanbeevers
Copy link
Contributor

@duncanbeevers duncanbeevers commented Sep 28, 2023

Per discussion during the Sep 28 TDC meeting, this PR attempts to tease apart the identity of an OpenAPI description from the document(s) which comprise it.

It also references+links the entry point nomenclature, also settled-upon in same meeting.

💡 ❤️ I want to thank @handrews for their feedback during and after the meeting today. What I thought might be a trivial change is clearly a bit more nuanced than I expected and the space to think and refine the wording aided in my own understanding (and hopefully others' as well!)

@@ -69,7 +69,7 @@ An OpenAPI definition can then be used by documentation generation tools to disp
## Definitions

##### <a name="oasDocument"></a>OpenAPI Description
A document (or set of documents) that describes an API. An OpenAPI Description (OAD) uses and conforms to the OpenAPI Specification, and MUST contain at least one [paths](#pathsObject) field, [components](#oasComponents) field, or [webhooks](#oasWebhooks) field.
An OpenAPI description describes an API, and is composed of an [entry document](#documentStructure), and all its referenced documents. An OpenAPI Description (OAD) uses and conforms to the OpenAPI Specification, and MUST contain at least one [paths](#pathsObject) field, [components](#oasComponents) field, or [webhooks](#oasWebhooks) field.
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick: Capitalize "Description" in "OpenAPI Description". You could then move the "(OAD)" up and just use OAD in the 2nd sentence.

Other than that, I think we just need to get some confirmation in a TDC meeting that folks are comfortable with "and all its referenced documents." It seems fine to me, but people have Opinons on this sort of thing.

@handrews handrews added this to the v3.1.1 milestone Jan 27, 2024
@handrews handrews added the clarification requests to clarify, but not change, part of the spec label Jan 29, 2024
Co-authored-by: Ralf Handl <[email protected]>
@earth2marsh earth2marsh merged commit 1c848b2 into OAI:v3.1.1-dev Feb 1, 2024
lornajane added a commit to lornajane/OpenAPI-Specification that referenced this pull request Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification requests to clarify, but not change, part of the spec
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants