I've got a simple node app with a swagger.json like this. [swagger.txt](https://github.com/aspnet/HttpRepl/files/3474294/swagger.txt) `{ "openapi": "3.0.0", "servers": [ { "url": "/api/v1" } ]...` And while it is correct and valid swagger, it's not automatically usable with httpRepl without manual and non-intuitive base url setting. `set base https://MYSITE/api/v1 set swagger https://MYSITE/swagger.json` The base setting should be implied by the single `servers:url` and this should work without manual set base or manual set swagger. Second ask - Would be nice to "Set swagger LOCALFILE" as well. Or even "`dotnet watch httprep --swagger LOCALFILE`" for iterative development. cc @tlmii
I've got a simple node app with a swagger.json like this.
swagger.txt
{ "openapi": "3.0.0", "servers": [ { "url": "/api/v1" } ]...And while it is correct and valid swagger, it's not automatically usable with httpRepl without manual and non-intuitive base url setting.
set base https://MYSITE/api/v1 set swagger https://MYSITE/swagger.jsonThe base setting should be implied by the single
servers:urland this should work without manual set base or manual set swagger.Second ask - Would be nice to "Set swagger LOCALFILE" as well. Or even "
dotnet watch httprep --swagger LOCALFILE" for iterative development.cc @tlmii