You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to get a property when validating a path or header (GET method - REST API). My application was written in laravel 6 version.
My part json-schematic about parameters
"Parameters": [
{
"In": "header",
"Name": "customer ID",
"Required": true,
"Type": "string"
},
{
"In": "path",
"Name": "product_id",
"Required": true,
"Type": "string",
"MaxLength": 24
}
]
When I send GET, where product_identifier has 25 words, I get errors, but without properties
0 => array: 6 [
"Property" => ""
"Pointer" => ""
"Message" => "Must be up to 24 characters"
"Constraint" => "maxLength"
"Context" => 1
"MaxLength" => 24
]