From 8b527ae974c14abf2cb3ef1250b2a520e74c57a7 Mon Sep 17 00:00:00 2001 From: C-Valen Date: Tue, 9 Dec 2025 15:39:01 +0100 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20Update=20generated?= =?UTF-8?q?=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi-osidb.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/openapi-osidb.yml b/openapi-osidb.yml index 7c33045d6..45e7b65d2 100644 --- a/openapi-osidb.yml +++ b/openapi-osidb.yml @@ -12745,11 +12745,11 @@ components: relevant: type: boolean type: - type: string - readOnly: true + allOf: + - $ref: '#/components/schemas/FlawLabelType' + default: context_based required: - label - - type - uuid FlawCollaboratorPostRequest: type: object @@ -12764,8 +12764,17 @@ components: contributor: type: string maxLength: 255 + type: + allOf: + - $ref: '#/components/schemas/FlawCollaboratorPostTypeEnum' + default: context_based required: - label + FlawCollaboratorPostTypeEnum: + enum: + - alias + - context_based + type: string FlawCollaboratorRequest: type: object description: FlawCollaborator serializer @@ -12785,6 +12794,10 @@ components: maxLength: 255 relevant: type: boolean + type: + allOf: + - $ref: '#/components/schemas/FlawLabelType' + default: context_based required: - flaw - label @@ -12870,6 +12883,12 @@ components: required: - name - type + FlawLabelType: + enum: + - alias + - context_based + - product_family + type: string FlawPackageVersion: type: object description: Package model serializer From 87bfe4aa860be76095f419273469dd536b9d0ae8 Mon Sep 17 00:00:00 2001 From: C-Valen Date: Tue, 9 Dec 2025 15:39:56 +0100 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20Add=20alias=20to=20?= =?UTF-8?q?label=20enum=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/zodFlaw.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/zodFlaw.ts b/src/types/zodFlaw.ts index b2a767fb7..4a42e037e 100644 --- a/src/types/zodFlaw.ts +++ b/src/types/zodFlaw.ts @@ -152,6 +152,7 @@ export const ZodHistoryItemSchema = z.object({ }); export enum FlawLabelTypeEnum { + ALIAS = 'alias', CONTEXT_BASED = 'context_based', PRODUCT_FAMILY = 'product_family', } From 16627877b62f87227c84b2a85f9c21eac55cee42 Mon Sep 17 00:00:00 2001 From: C-Valen Date: Tue, 9 Dec 2025 15:40:46 +0100 Subject: [PATCH 3/5] =?UTF-8?q?=E2=9C=A8=20Support=20alias=20label=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FlawLabels/FlawLabelTableEditingRow.vue | 46 +++++++++++++++++-- src/components/FlawLabels/FlawLabelsTable.vue | 11 ++--- 2 files changed, 46 insertions(+), 11 deletions(-) diff --git a/src/components/FlawLabels/FlawLabelTableEditingRow.vue b/src/components/FlawLabels/FlawLabelTableEditingRow.vue index bd176ccc2..024eab621 100644 --- a/src/components/FlawLabels/FlawLabelTableEditingRow.vue +++ b/src/components/FlawLabels/FlawLabelTableEditingRow.vue @@ -1,4 +1,6 @@ @@ -56,13 +65,43 @@ const emitSave = () => { >{{ state }} + + + + + -