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 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 }} + + + + + -