Closed
Description
LoopBack4 included validator (button at the bottom right)
failed with following errors:
{
"messages":[
"attribute paths.'/v1/author'(get).parameters.[language].default is unexpected",
"attribute paths.'/v1/author'(get).parameters.[authorId].default is unexpected",
"attribute paths.'/v1/authors'(get).parameters.[language].default is unexpected",
"attribute paths.'/v1/authors'(get).parameters.[page].default is unexpected",
"attribute paths.'/v1/authors'(get).parameters.[size].default is unexpected",
"attribute paths.'/v1/categories'(get).parameters.[language].default is unexpected",
"attribute paths.'/v1/categories'(get).parameters.[page].default is unexpected",
"attribute paths.'/v1/categories'(get).parameters.[size].default is unexpected",
"attribute paths.'/v1/quote_html'(get).parameters.[contentOnly].default is unexpected",
"attribute paths.'/v1/users'(get).parameters.[page].default is unexpected",
"attribute paths.'/v1/users'(get).parameters.[size].default is unexpected",
"attribute paths.'/v1/authors'(get).operationId is repeated"
],
"schemaValidationMessages":[
{
"level":"error",
"domain":"validation",
"keyword":"oneOf",
"message":"instance failed to match exactly one schema (matched 0 out of 2)",
"schema":{
"loadingURI":"#",
"pointer":"/definitions/Operation/properties/parameters/items"
},
"instance":{
"pointer":"/paths/~1v1~1author/get/parameters/0"
}
},
{
"level":"error",
"domain":"validation",
"keyword":"oneOf",
"message":"instance failed to match exactly one schema (matched 0 out of 2)",
"schema":{
"loadingURI":"#",
"pointer":"/definitions/Operation/properties/parameters/items"
},
"instance":{
"pointer":"/paths/~1v1~1author/get/parameters/1"
}
}
]
}
Metadata
Metadata
Assignees
Labels
No labels