Currently, when using Netuno's OPEN_API validations, we do not have an accurate response to violations.
{
"tags":[
"serviços de produto"
],
"summary": "Detalhe do Produto",
"description": "É obtido todos os campos de detalhe do produto especificado.",
"type": "object",
"properties": {
"uid": {
"type": "uid"
}
},
"required": [
"uid"
]
}
The above example shows the validation of a uid field which requires the correct format, otherwise it returns an error with status 400.
Furthermore could return a message more friendly.
Currently, when using Netuno's OPEN_API validations, we do not have an accurate response to violations.
The above example shows the validation of a uid field which requires the correct format, otherwise it returns an error with status 400.
Furthermore could return a message more friendly.