Skip to content

Commit

Permalink
update client/openapi/trustd.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
github-merge-queue[bot] authored Nov 21, 2024
1 parent 1f7ac8e commit ec81c95
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion client/openapi/trustd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ info:
license:
name: Apache License, Version 2.0
identifier: Apache-2.0
version: 0.1.0-alpha.23
version: 0.1.0-alpha.24
paths:
/.well-known/trustify:
get:
Expand Down Expand Up @@ -2243,6 +2243,7 @@ components:
required:
- sbom_id
- node_id
- relationship
- purl
- name
- version
Expand All @@ -2253,6 +2254,8 @@ components:
type: string
purl:
type: string
relationship:
type: string
sbom_id:
type: string
version:
Expand Down Expand Up @@ -3344,6 +3347,7 @@ components:
- dev_tool_of
- described_by
- package_of
- undefined
Report:
type: object
required:
Expand Down
6 changes: 5 additions & 1 deletion client/src/app/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ export const AnalysisStatusSchema = {

export const AncNodeSchema = {
type: "object",
required: ["sbom_id", "node_id", "purl", "name", "version"],
required: ["sbom_id", "node_id", "relationship", "purl", "name", "version"],
properties: {
name: {
type: "string",
Expand All @@ -287,6 +287,9 @@ export const AncNodeSchema = {
purl: {
type: "string",
},
relationship: {
type: "string",
},
sbom_id: {
type: "string",
},
Expand Down Expand Up @@ -1843,6 +1846,7 @@ export const RelationshipSchema = {
"dev_tool_of",
"described_by",
"package_of",
"undefined",
],
} as const;

Expand Down
4 changes: 3 additions & 1 deletion client/src/app/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export type AncNode = {
name: string;
node_id: string;
purl: string;
relationship: string;
sbom_id: string;
version: string;
};
Expand Down Expand Up @@ -687,7 +688,8 @@ export type Relationship =
| "build_tool_of"
| "dev_tool_of"
| "described_by"
| "package_of";
| "package_of"
| "undefined";

export type Report = {
/**
Expand Down

0 comments on commit ec81c95

Please sign in to comment.