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:
{
"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"
}
}
]
}
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:
{ "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" } } ] }