elements icon indicating copy to clipboard operation
elements copied to clipboard

Unexpected rendering of parameter's absent description

Open porotkin opened this issue 3 years ago • 0 comments

Hi Team,

we have encountered an unexpected behaviour. In the example below, the parameter ‘limit’ doesn’t have a description property, but it is still rendered getting the value from the schema’s description.

Current Result

image image

Expected Result

image

SwaggerHub behaviour

image image

The SwaggerHub doesn’t render a description if the parameter doesn't have it.

Could you, please, tell us whether such behaviour is expected or not, and why?

porotkin avatar Oct 06 '22 13:10 porotkin