-
Notifications
You must be signed in to change notification settings - Fork 75
Topics to document #1
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
Comments
Consider "Who should read this guide?" with a brief description of what they'll learn when they're done. Possibly break out from "What is the OpenAPI Specification" into a representative sample of the value you can then derive from tooling with "What can you do with an OpenAPI spec?" [NB: I tend to use Consider addressing schemas in the basics? Since the primary goal is to get new people to a level of basic competence, consider deferring the more advanced topics until later, and to focus the best practices on those new to working with specs. Because code-first will vary across languages, it might be sufficient to mention that workflow approach but focus more on hand-written specs. Similarly, it's worth pointing out that specs could be analyzed for standards compliance, but that that's a tooling benefit addressed outside this document. |
I like doing this at the beginning of each page, but I agree having a global one could be beneficial. Thanks.
The way I have approached the introduction so far (will share soon), I talk about the befits of APIs in general, then of API descriptions, and then of OpenAPI. Maybe it will make more sense once I share it and we can continue discussing it in the PR.
Good to know there's at least a convention :) Might borrow yours...
I have no idea yet what schemas are. I put them in section 2 because @philsturgeon requested them and they seemed more related to the Specification itself than to Best Practices. I see no issue in having a new section called "Advanced topics" or similar.
Cool, noted. Thanks. |
I updated the proposed TOC taking @earth2marsh's comments into account. |
I would (somewhat) strongly advise not to overload the term spec or specification at all. The Specification, specification or spec should be reserved for the OpenAPI Specification itself. The term we use within the OAS for an instance of the OAS is an OpenAPI document, though others may prefer definition, description or contract. @philsturgeon has a useful resource here. This NordicAPIs blog posting is also probably good reading.
The Specification defines We might want to have a short section or some box-outs which highlight features new in v3.1 of the specification. |
If you would find a rendered version of 3.1-rc0 (like this http://spec.openapis.org/oas/v3.0.3.html) helpful, just let me know and I will generate one you can create placeholder links to. |
This convention seems clearer to me. Accepted.
Oooohhh... this is handy, since we're definitely talking about educational material here. Thanks.
That actually seemed to confuse me more... but I think in the end it agrees with the definitions in openapi-glossary.
So the Specification has security-related syntax and therefore it should be explained in chapter 3 (The OpenAPI Specification explained). Understood.
Box-outs are more comfortable, since the reader finds them in the place were they are most relevant. But I wouldn't use a full-blown box-out (with an outline and a different background color) since they will accumulate over the years and become distracting.
OK, thanks. At this point I still don't know how I'll handle this but I guess I can link to https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md and later |
Closing in favour of #59 - thanks all. |
Edit: I've changed the purpose of this issue so it is a container for topics that would be nice to have discussed in the docs.
securityScheme
andsecurity
.$ref
. Example directory structures.The text was updated successfully, but these errors were encountered: