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:
parent
46a024a6e0
commit
d77a1226df
1 changed files with 24 additions and 0 deletions
24
api/v1/swagger/definitions/extended_attribute.json
Normal file
24
api/v1/swagger/definitions/extended_attribute.json
Normal 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"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue