swagception icon indicating copy to clipboard operation
swagception copied to clipboard

Allow other methods than get (credit to sgdot)

Open mlambley opened this issue 7 years ago • 0 comments

I'm only implementing get because running the urls separately with other methods results in the system randomly creating/updating/deleting records across the system. While it is technically possible to validate against the Swagger schema using this approach, it does not do a good enough job of ensuring that the API is valid.

There will come a point where this system will tie urls and methods together into workflows. For example, create a record and check its response (and fetch the new id), update that newly created record and check its response, and finally delete that record and check its response.

For now though, @https://github.com/sgdot had a good point that the system should allow multiple methods, not just get. I can't really say that this system validates against Swagger if it only checks some of the methods.

mlambley avatar Jul 02 '18 00:07 mlambley