Openapi Schema improvements

- Return proper booleans in api responses
- Update jsonschemavalidation to latest draft
This commit is contained in:
Jamie Curnow
2024-10-10 15:53:11 +10:00
parent dfe2588523
commit 4572b205c9
69 changed files with 862 additions and 2082 deletions

View File

@ -32,10 +32,10 @@ router
additionalProperties: false,
properties: {
expand: {
$ref: 'common#/definitions/expand'
$ref: 'common#/properties/expand'
},
query: {
$ref: 'common#/definitions/query'
$ref: 'common#/properties/query'
}
}
}, {
@ -97,10 +97,10 @@ router
additionalProperties: false,
properties: {
user_id: {
$ref: 'common#/definitions/id'
$ref: 'common#/properties/id'
},
expand: {
$ref: 'common#/definitions/expand'
$ref: 'common#/properties/expand'
}
}
}, {