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
{
"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"
}
}
]
}
The text was updated successfully, but these errors were encountered:
for errors from validator like:
"attribute paths.'/v1/author'(get).parameters.[language].default is unexpected"
To solve this error the default value for the language parameter is defined
within the schema object inside the decorator.
LoopBack4 included validator (button at the bottom right)
https://validator.swagger.io/validator/debug?url=https://api.zitat-service.de/v1/explorer/openapi.json
failed with following errors:
The text was updated successfully, but these errors were encountered: