MarketSquare / roboswag

Apache License 2.0
26 stars 2 forks source link

Allow overwriting parameters, fix for body parameter, small addons #19

Closed mnojek closed 2 years ago

mnojek commented 2 years ago

The body parameter is allowed to appear only once for each endpoint according to swagger 2.0 specification (https://swagger.io/specification/v2/#pathItemParameters) so I fixed it in code.

It is now possible to overwrite parameters. Previously, it was only possible to test specific endpoints with different values for parameters, but now it is possible to overwrite parameters so that it is possible to test endpoints with not expected parameters.

Also, I did small refactors and fixes.