-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Describe OpenAPI entry point in OpenAPI description docs #3387
Conversation
versions/3.1.1.md
Outdated
@@ -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. |
There was a problem hiding this comment.
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.
Co-authored-by: Ralf Handl <[email protected]>
Co-authored-by: Ralf Handl <[email protected]>
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!)