Replies: 1 comment
-
Hi @dhurtrci, I understand quite some time has passed since the original question has been posted, but hopefully I can still assist on this matter:
I believe there's already an issue on this (though I'll need to search for it), and it's something we're looking to fix at some point, albeit a lower priority as it may be a breaking change. |
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
-
In my API I have an array query parameter. I want to give it a description that can be seen in the Open API explorer.
As the array function does not have a specific argument for description, I tried putting a description in the itemSpec.
Unfortunately (and perhaps as one would expect), the generated openapi spec from this puts the description under the schema/items as illustrated below in the yml:
To be visible in the API explorer, I need a way of getting the description to be at the top level - e.g.. :
How do I accomplish this via the loopback decorators? Is it even possible, or is the array function maybe missing a description parameter and the necessary 'wiring' to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions