api-console
api-console copied to clipboard
Show named example description
Hi, this another feature request.
The idea is show the RAML Named Example displayName and description element into the api console examples tab, e.g:
I've describe multiple raml named examples to an resource like this:
responses:
200:
body:
application/json:
type: airShoppingResponse
examples:
one-way: !include examples/airShopping/get-ow-200.raml
round-trip: !include examples/airShopping/get-rt-200.raml
get-ow-200.raml snippet:
#%RAML 1.0 NamedExample
displayName: One Way
description: One way airShopping response example.
value: {json-content}
Defining the examples like this the console should read the displayName and description attributes and show something like this:
And when we have more than one example the console should show the json content collapsed. Today when you have multiple examples is difficult to realize the another examples while you're scrolling the page.
Thank you for the feature request. I am working right now on this components so I will definitely take it into account.
This was fixed in APIC v5
One email would have been plenty, not the 20 you sent.
On Thu, Dec 12, 2019, 3:45 PM Paweł Psztyć [email protected] wrote:
Closed #564 https://github.com/mulesoft/api-console/issues/564.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mulesoft/api-console/issues/564?email_source=notifications&email_token=AG2H4CNVNGGRFTRDLK7FMHDQYKWH3A5CNFSM4EUTHHCKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVOQX3MY#event-2879487411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2H4CIEPDHQKSGPCO5IMOLQYKWH3ANCNFSM4EUTHHCA .
Reopening as the description is not yet supported.
@jarrodek Any idea if/when this is going to be implemented?
@TwoPlusTwoOne apparently I cannot assign tickets anymore. Can you take a look into this?
I'll log an internal ticket for this enhancement
We've released #706 v6.6.0 with this added. @gui1207 please confirm that the use case has been covered