From 8d44cdd46d875d29cbbbd049362c7fa3319ca1e9 Mon Sep 17 00:00:00 2001 From: Richard OLVERA Date: Fri, 17 Jan 2025 14:44:28 +0100 Subject: [PATCH] fix error generator : Failed to lookup the schema 'AttachmentMultipart' when processing the discriminator mapping --- common/schemas/Attachment.openapi.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/schemas/Attachment.openapi.yaml b/common/schemas/Attachment.openapi.yaml index c1512ca..d6828e5 100644 --- a/common/schemas/Attachment.openapi.yaml +++ b/common/schemas/Attachment.openapi.yaml @@ -16,11 +16,6 @@ components: url: https://datamodel.tmforum.org/en/latest/Common/EntityAttachment allOf: - $ref: "./StatusEntity.openapi.yaml#/components/schemas/StatusEntity" - - discriminator: - propertyName: "@type" - mapping: - Attachment: "#/components/schemas/Attachment" - AttachmentMultipart: "#/components/schemas/AttachmentMultipart" required: - name - "@type" @@ -37,9 +32,6 @@ components: Type d'attachement. Les valeurs possibles sont: - - * `Attachment`: "#/components/schemas/Attachment" - * `AttachmentMultipart`: "#/components/schemas/AttachmentMultipart" "@baseType": type: string default: "Attachment"