Bug 27855: Add extended_attribute OpenAPI spec

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomás Cohen Arazi 2021-03-03 16:50:39 -03:00 committed by Jonathan Druart
parent 46a024a6e0
commit d77a1226df

View file

@ -0,0 +1,24 @@
{
"type": "object",
"properties": {
"extended_attribute_id": {
"description": "Internal ID for the extended attribute",
"type": "integer"
},
"type": {
"description": "Extended attribute type",
"type": "string"
},
"value": {
"description": "Extended attribute value",
"type": [
"string"
]
}
},
"additionalProperties": false,
"required": [
"type",
"value"
]
}