Schemas
This page was deprecating! Please use Schemator middleware
Swagger documentation generated based on schemas
Validation
Types of validation
headers
params
query
body
cookies
Serialization
Types of serialization
We use fast-json-stringify under the hood for serialization and improving response time (applies for Array and Object)
If schema is wrong, error is not causing, it just removes that value from response which may be bad for your application, so, please be careful then typing schema
Response content types:
response
response.HTTP_CODE
HTTP Code-based serialization
Last updated
Was this helpful?