Tags description #718
Shadercloud
started this conversation in
General
Replies: 1 comment
-
This is indeed a good catch and should work like you expected. Thanks for a good testing and a feedback! Currently I'm working on that issue you've highlighted (about path params) and will handle this after. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I notice that the
Group
tag allows for a description but this doesn't actually go anywhere. For example:It seems in the OpenAPI specs this should be appended to the JSON array as such:
However the
Dedoc\Scramble\Support\Generator\OpenAPI
class does not allow for appending any attribrary fields to the document. Even with DocumentTransformers which only allows you to modify the existing fields in the OpenAPI class; buttoArray()
does not allow for appending anything else.So I'm not sure how one would go about appending to this data, right now I've just added a middleware which does this:
However this means manually adding the descriptions to the middleware, or making a whole system to re-scan the tags again. Any suggestions to a better way to handle this?
Beta Was this translation helpful? Give feedback.
All reactions