From 23ddd4094bbaae3cbbd9686f1d52d55a924f58be Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 29 Oct 2024 17:11:34 +0000 Subject: [PATCH] Bug 38262: Update API specs --- api/v1/swagger/definitions/vendor.yaml | 10 ++++++++++ api/v1/swagger/paths/acquisitions_vendors.yaml | 4 ++++ api/v1/swagger/paths/extended_attribute_types.yaml | 3 +++ 3 files changed, 17 insertions(+) diff --git a/api/v1/swagger/definitions/vendor.yaml b/api/v1/swagger/definitions/vendor.yaml index 007b24c8ba7..48e9e488a87 100644 --- a/api/v1/swagger/definitions/vendor.yaml +++ b/api/v1/swagger/definitions/vendor.yaml @@ -139,6 +139,16 @@ properties: invoices: type: array description: List of invoices + extended_attributes: + description: Related additional field values + type: + - array + items: + $ref: extended_attribute_value.yaml + _strings: + type: + - object + - "null" additionalProperties: false required: - name diff --git a/api/v1/swagger/paths/acquisitions_vendors.yaml b/api/v1/swagger/paths/acquisitions_vendors.yaml index 9f9380fdcb3..67ce39d8ad1 100644 --- a/api/v1/swagger/paths/acquisitions_vendors.yaml +++ b/api/v1/swagger/paths/acquisitions_vendors.yaml @@ -38,6 +38,8 @@ - baskets - subscriptions+count - invoices + - extended_attributes + - +strings collectionFormat: csv responses: "200": @@ -154,6 +156,8 @@ - interfaces - contacts - contracts + - extended_attributes + - +strings collectionFormat: csv produces: - application/json diff --git a/api/v1/swagger/paths/extended_attribute_types.yaml b/api/v1/swagger/paths/extended_attribute_types.yaml index 2fe8ddb4139..37762405b8e 100644 --- a/api/v1/swagger/paths/extended_attribute_types.yaml +++ b/api/v1/swagger/paths/extended_attribute_types.yaml @@ -23,6 +23,7 @@ - package - order - subscription + - vendor - $ref: "../swagger.yaml#/parameters/match" - $ref: "../swagger.yaml#/parameters/order_by" - $ref: "../swagger.yaml#/parameters/page" @@ -62,3 +63,5 @@ - parameters: - manage_additional_fields - erm: 1 + - acquisition: + - vendors_manage -- 2.39.5 (Apple Git-154)