Closed
Description
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
]
How can I get property?
Metadata
Metadata
Assignees
Labels
No labels