mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
The original fix failed because though the Keys were now strings, some of the values for path variables were also symbols. Psych does have a safe_load which has a whitelist of classes but it does not have a safe_dump mode. We could have used deep_transform_values and manually converted the classes we did not want, but why risk a buggy implementation when JSON.generate works just fine? |
||
|---|---|---|
| .. | ||
| lib | ||
| spec | ||
| .rspec | ||
| MIT-LICENSE | ||
| Rakefile | ||
| rswag-specs.gemspec | ||