Skip to content

Commit

Permalink
update client/openapi/trustd.yaml (#248)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
Co-authored-by: github-merge-queue[bot] <github-merge-queue[bot]@users.noreply.github.com>
  • Loading branch information
carlosthe19916 and github-merge-queue[bot] authored Nov 18, 2024
1 parent c0ad15f commit 2459ed9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions client/openapi/trustd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2457,6 +2457,7 @@ components:
required:
- sbom_id
- node_id
- relationship
- purl
- name
- version
Expand All @@ -2472,6 +2473,8 @@ components:
type: string
purl:
type: string
relationship:
type: string
sbom_id:
type: string
version:
Expand Down
13 changes: 12 additions & 1 deletion client/src/app/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,15 @@ export const CweImporterSchema = {

export const DepNodeSchema = {
type: "object",
required: ["sbom_id", "node_id", "purl", "name", "version", "deps"],
required: [
"sbom_id",
"node_id",
"relationship",
"purl",
"name",
"version",
"deps",
],
properties: {
deps: {
type: "array",
Expand All @@ -611,6 +619,9 @@ export const DepNodeSchema = {
purl: {
type: "string",
},
relationship: {
type: "string",
},
sbom_id: {
type: "string",
},
Expand Down
1 change: 1 addition & 0 deletions client/src/app/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export type DepNode = {
name: string;
node_id: string;
purl: string;
relationship: string;
sbom_id: string;
version: string;
};
Expand Down

0 comments on commit 2459ed9

Please sign in to comment.