swagger-api / swagger-ui

Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
https://swagger.io
Apache License 2.0
26.59k stars 8.96k forks source link

Swagger UI config for booleanValues gone #1272

Closed dmyers closed 7 years ago

dmyers commented 9 years ago

Did the option to set the config for booleanValues change? The readme still references it.

webron commented 9 years ago

Looks like a regression.

fehguy commented 9 years ago

@webron can you explain this more?

webron commented 9 years ago

Sure, from https://github.com/swagger-api/swagger-ui#parameters - screenshot 2015-05-13 15 57 49

It seems this feature was lost at some point. We can either declare the feature obsolete or fix it. There's no reference in the current code anywhere to booleanValues.

Jonnx commented 9 years ago

This is still not resolved as of 2.1.4. is there a fix in the works or a patch that we apply manually?

rcjohnson commented 9 years ago

Found this patch from a while ago where the booleanValues was added. May try to create a pull request to add this back, but wanted to put this out there as it helped us work around the issue.

https://git.framasoft.org/databrew/swagger-ui/commit/8d3a5010b4872615934b09cd1fd8bd1c18192b26

fehguy commented 9 years ago

Please consider sending a PR and it'll get in shortly. A new swagger-js client is just about ready.

curtisgibby commented 8 years ago

I'd love for this issue to be resolved.

alexeyauslender commented 7 years ago

Hey ,there.Is anybody going to fix it or this parameter is not relevant anymore ?

fehguy commented 7 years ago

It looks like a PR could help get this resolved.

webron commented 7 years ago

We've completely dropped this feature in 3.X.