From 4941c4aecb31caa6d447bbf5b642532aa69dab5b Mon Sep 17 00:00:00 2001 From: "Stefano.D'aversa" Date: Fri, 1 Dec 2023 13:16:27 +0100 Subject: [PATCH 1/4] remove versione and max allowed payment from documentation --- openapi/index.yaml | 13 ------------- openapi/index.yaml.template | 10 ---------- 2 files changed, 23 deletions(-) diff --git a/openapi/index.yaml b/openapi/index.yaml index 419ec20b..962d34c5 100644 --- a/openapi/index.yaml +++ b/openapi/index.yaml @@ -1236,9 +1236,6 @@ definitions: has_attachments: type: boolean default: false - has_remote_content: - type: boolean - default: false has_precondition: type: string x-extensible-enum: @@ -1816,8 +1813,6 @@ definitions: type: string status: $ref: '#/definitions/CmsServiceLifecycleStatus' - version: - type: integer last_update: $ref: '#/definitions/Timestamp' - $ref: '#/definitions/CmsServicePayload' @@ -1834,8 +1829,6 @@ definitions: type: string status: $ref: '#/definitions/CmsServicePublicationStatusType' - version: - type: integer last_update: $ref: '#/definitions/Timestamp' - $ref: '#/definitions/CmsServicePayload' @@ -1870,12 +1863,6 @@ definitions: type: array items: $ref: '#/definitions/CIDR' - max_allowed_payment_amount: - type: integer - format: int32 - minimum: 0 - maximum: 9999999999 - default: 0 metadata: $ref: '#/definitions/CmsServiceMetadata' required: diff --git a/openapi/index.yaml.template b/openapi/index.yaml.template index 0bfeeb59..42d660e2 100644 --- a/openapi/index.yaml.template +++ b/openapi/index.yaml.template @@ -1111,8 +1111,6 @@ definitions: type: string status: $ref: '#/definitions/CmsServiceLifecycleStatus' - version: - type: integer last_update: $ref: '#/definitions/Timestamp' - $ref: '#/definitions/CmsServicePayload' @@ -1129,8 +1127,6 @@ definitions: type: string status: $ref: '#/definitions/CmsServicePublicationStatusType' - version: - type: integer last_update: $ref: '#/definitions/Timestamp' - $ref: '#/definitions/CmsServicePayload' @@ -1165,12 +1161,6 @@ definitions: type: array items: $ref: '#/definitions/CIDR' - max_allowed_payment_amount: - type: integer - format: int32 - minimum: 0 - maximum: 9999999999 - default: 0 metadata: $ref: '#/definitions/CmsServiceMetadata' required: From 7fba1133259bb2dd5a44ffd34b867876a9d88016 Mon Sep 17 00:00:00 2001 From: "Stefano.D'aversa" Date: Fri, 1 Dec 2023 13:39:50 +0100 Subject: [PATCH 2/4] fix delete error --- openapi/index.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi/index.yaml b/openapi/index.yaml index 962d34c5..153b6da0 100644 --- a/openapi/index.yaml +++ b/openapi/index.yaml @@ -1236,6 +1236,9 @@ definitions: has_attachments: type: boolean default: false + has_remote_content: + type: boolean + default: false has_precondition: type: string x-extensible-enum: From c86da37e028c35a7cf7603fee4172d36e0629833 Mon Sep 17 00:00:00 2001 From: "Stefano.D'aversa" Date: Fri, 1 Dec 2023 16:28:35 +0100 Subject: [PATCH 3/4] revert max_allowed_payment removal --- openapi/index.yaml | 9 ++++++--- openapi/index.yaml.template | 6 ++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/openapi/index.yaml b/openapi/index.yaml index 153b6da0..558bf791 100644 --- a/openapi/index.yaml +++ b/openapi/index.yaml @@ -1236,9 +1236,6 @@ definitions: has_attachments: type: boolean default: false - has_remote_content: - type: boolean - default: false has_precondition: type: string x-extensible-enum: @@ -1866,6 +1863,12 @@ definitions: type: array items: $ref: '#/definitions/CIDR' + max_allowed_payment_amount: + type: integer + format: int32 + minimum: 0 + maximum: 9999999999 + default: 0 metadata: $ref: '#/definitions/CmsServiceMetadata' required: diff --git a/openapi/index.yaml.template b/openapi/index.yaml.template index 42d660e2..f4592c19 100644 --- a/openapi/index.yaml.template +++ b/openapi/index.yaml.template @@ -1161,6 +1161,12 @@ definitions: type: array items: $ref: '#/definitions/CIDR' + max_allowed_payment_amount: + type: integer + format: int32 + minimum: 0 + maximum: 9999999999 + default: 0 metadata: $ref: '#/definitions/CmsServiceMetadata' required: From 0a8cdf5c27a28510e8cef958e15cc82e67d5b8bd Mon Sep 17 00:00:00 2001 From: "Stefano.D'aversa" Date: Fri, 1 Dec 2023 16:30:36 +0100 Subject: [PATCH 4/4] fix has_remote_content --- openapi/index.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openapi/index.yaml b/openapi/index.yaml index 558bf791..20b07b03 100644 --- a/openapi/index.yaml +++ b/openapi/index.yaml @@ -1236,6 +1236,9 @@ definitions: has_attachments: type: boolean default: false + has_remote_content: + type: boolean + default: false has_precondition: type: string x-extensible-enum: