@@ -, +, @@ patron.json --- .../definitions/extended_attribute.json | 24 ------------------- api/v1/swagger/definitions/patron.json | 23 +++++++++++++++++- 2 files changed, 22 insertions(+), 25 deletions(-) delete mode 100644 api/v1/swagger/definitions/extended_attribute.json --- a/api/v1/swagger/definitions/extended_attribute.json +++ a/api/v1/swagger/definitions/extended_attribute.json @@ -1,24 +0,0 @@ -{ - "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" - ] -} --- a/api/v1/swagger/definitions/patron.json +++ a/api/v1/swagger/definitions/patron.json @@ -286,7 +286,28 @@ "type": "array", "description": "patron's extended attributes", "items": { - "$ref": "extended_attribute.json" + "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" + ] } } }, --