4 ms·
I personally like the approach of defining things via an OpenAPI and then using Dredd to validate the spec against itself. Even for tools that generate the spe
by cmgriffing 3y ago
I personally like the approach of defining things via an OpenAPI and then using Dredd to validate the spec against itself.
Even for tools that generate the spec from source code, it is usually still possible for user error to define the metadata for an endpoint incorrectly. Dredd catches that.
- TheBigRoomXXL 3y agoI also think that validating an API against it's OpenAPI schema is a great methodology. You should checkout schemathesis, it's fantastic for doing that. https://github.com/schemathesis/schemathesis https://github.com/schemathesis/schemathesis