From 1c75bf4b90a76a970e4a6672d149138c7737d6b6 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 3 Mar 2021 16:50:39 -0300 Subject: [PATCH] Bug 27855: Add extended_attribute OpenAPI spec Signed-off-by: Kyle M Hall --- .../definitions/extended_attribute.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 api/v1/swagger/definitions/extended_attribute.json diff --git a/api/v1/swagger/definitions/extended_attribute.json b/api/v1/swagger/definitions/extended_attribute.json new file mode 100644 index 0000000000..c21ae1ee84 --- /dev/null +++ b/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" + ] +} -- 2.24.1 (Apple Git-126)