There are various requests around supporting loading swagger docs by different means.
Current behavior
- Load JSON from a path relative to the application
Requested:
- Load YAML from a path relative to the application
- Load JSON from local file
- JSON string
It'd make sense for us to look at the various request to determine the ideal approach to makes loading a swagger doc a bit more flexible.
My initial thought is to add support for a Hash or a JSON string in addition to what we currently support, which would afford people enough flexibility to decide how they'd like to load the swagger doc.
cc: @gwshaw @jreece1567
There are various requests around supporting loading swagger docs by different means.
Current behavior
Requested:
It'd make sense for us to look at the various request to determine the ideal approach to makes loading a swagger doc a bit more flexible.
My initial thought is to add support for a Hash or a JSON string in addition to what we currently support, which would afford people enough flexibility to decide how they'd like to load the swagger doc.
cc: @gwshaw @jreece1567