Authress-Engineering / openapi-explorer

OpenAPI Web component to generate a UI from the spec.
Apache License 2.0
316 stars 42 forks source link

Be able to hide request example(s) #171

Closed gdec31 closed 1 year ago

gdec31 commented 1 year ago

Hello,

For my use I like to use the placeholder to show an example of a parameter even if I lose the content when I put the cursor over it.

But I have a duplicate information with the "Example:" and is too much in the spotlight.

image

Is it possible to add an option to hide the request examples ? or to be able to manage this via CSS ?

wparad commented 1 year ago

I'm thinking about auto hiding the examples documentation below if there is only one and it's already going to show as the placeholder. Would something that make sense for you?

gdec31 commented 1 year ago

Yes, that would make sense to me,

wparad commented 1 year ago

This has been completed and will be automatically available shortly.