On the backend projects I've worked on, I always use a schema validator to check input payloads, parameters and document my api.
Using the postam provided, and adding additional format constraints on the parameters, we can create a first layer of automatic validation with the https://github.com/getkin/kin-openapi package.
On the backend projects I've worked on, I always use a schema validator to check input payloads, parameters and document my api.
Using the postam provided, and adding additional format constraints on the parameters, we can create a first layer of automatic validation with the https://github.com/getkin/kin-openapi package.