Rename NONCONFORMITY to MINOR_NONCONFORMITY and add MAJOR_NONCONFORMITY
Support distinguishing between minor and major non-conformities in findings. Rename the existing NONCONFORMITY enum value to MINOR_NONCONFORMITY and add a new MAJOR_NONCONFORMITY value across all API layers (GraphQL, MCP, CLI) and the database. Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -2312,7 +2312,8 @@ components:
|
||||
FindingKind:
|
||||
type: string
|
||||
enum:
|
||||
- NONCONFORMITY
|
||||
- MINOR_NONCONFORMITY
|
||||
- MAJOR_NONCONFORMITY
|
||||
- OBSERVATION
|
||||
- EXCEPTION
|
||||
go.probo.inc/mcpgen/type: go.probo.inc/probo/pkg/coredata.FindingKind
|
||||
@@ -2491,7 +2492,7 @@ components:
|
||||
anyOf:
|
||||
- $ref: "#/components/schemas/FindingKind"
|
||||
- type: "null"
|
||||
description: Filter by finding kind (NONCONFORMITY, OBSERVATION, EXCEPTION). Defaults to null which returns all kinds.
|
||||
description: Filter by finding kind (MINOR_NONCONFORMITY, MAJOR_NONCONFORMITY, OBSERVATION, EXCEPTION). Defaults to null which returns all kinds.
|
||||
status:
|
||||
anyOf:
|
||||
- $ref: "#/components/schemas/FindingStatus"
|
||||
|
||||
Reference in New Issue
Block a user