Open dflorey opened 6 years ago
Yeah, we should put a security definition in.
Just out of curiosity, do you want the tags mostly so that you can group "like" API methods into a single API resource? (Like exactly how it's shown in the reference documentation? If so, I'm not sure that tags are exactly what we want here given that they can also be used to annotate methods with other information.)
It would be great if the tags would reflect the "chapters" in the reference documentation. I think that it is more or less common practice to use the tags as chapter names. The apiguru guys use the tags in their ReDoc tool to generate the navigation submenus in the same way: https://rebilly.github.io/RebillyAPI This is an example of the docs generated from an imported api in our own app: https://help.ultradox.com/en/reference/api/apifriendsplusme:friendsme:10/users/getidentity.html So the tags and summary of the operation are used to create a proper nav menu.
You can test the "chapters" by pasting the stripe openapi spec into the redoc tool: http://rebilly.github.io/ReDoc/?url=https://raw.githubusercontent.com/stripe/openapi/master/openapi/spec2.yaml This is a great way to get an idea how the API will show up as result of the openapi toolchain.
we want to use openApi generator to generate the API for dart/flutter, without tags and mostly securityDefinitions it's not possible or the generated code we'll not work as it will not take into account auth. Tags allow the generator to create multiple api class instead of putting everything into one big file
We are building the stripe integration for our customers (https://www.ultradox.com) based on the stripe API spec. It is working to some degree, but it would be very nice to some more info in the spec. Even if I badly missed the Christmas deadline, here comes my wishlist: