Browse Source

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>
21.05.x
Tomas Cohen Arazi 1 year ago
committed by Jonathan Druart
parent
commit
d77a1226df
  1. 24
      api/v1/swagger/definitions/extended_attribute.json

24
api/v1/swagger/definitions/extended_attribute.json

@ -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…
Cancel
Save