Skip to content

Commit

Permalink
update client/openapi/trustd.yaml (#224)
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 7, 2024
1 parent bb3b982 commit 877f423
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
12 changes: 12 additions & 0 deletions client/openapi/trustd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3021,11 +3021,17 @@ components:
- type: object
required:
- described_by
- number_of_packages
properties:
described_by:
type: array
items:
$ref: '#/components/schemas/SbomPackage'
number_of_packages:
type: integer
format: int64
description: The number of packages this SBOM has
minimum: 0
total:
type: integer
format: int64
Expand Down Expand Up @@ -3512,11 +3518,17 @@ components:
- type: object
required:
- described_by
- number_of_packages
properties:
described_by:
type: array
items:
$ref: '#/components/schemas/SbomPackage'
number_of_packages:
type: integer
format: int64
description: The number of packages this SBOM has
minimum: 0
Severity:
type: string
description: |-
Expand Down
16 changes: 14 additions & 2 deletions client/src/app/client/schemas.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1364,14 +1364,20 @@ export const PaginatedResults_SbomSummarySchema = {
},
{
type: "object",
required: ["described_by"],
required: ["described_by", "number_of_packages"],
properties: {
described_by: {
type: "array",
items: {
$ref: "#/components/schemas/SbomPackage",
},
},
number_of_packages: {
type: "integer",
format: "int64",
description: "The number of packages this SBOM has",
minimum: 0,
},
},
},
],
Expand Down Expand Up @@ -2075,14 +2081,20 @@ export const SbomSummarySchema = {
},
{
type: "object",
required: ["described_by"],
required: ["described_by", "number_of_packages"],
properties: {
described_by: {
type: "array",
items: {
$ref: "#/components/schemas/SbomPackage",
},
},
number_of_packages: {
type: "integer",
format: "int64",
description: "The number of packages this SBOM has",
minimum: 0,
},
},
},
],
Expand Down
8 changes: 8 additions & 0 deletions client/src/app/client/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ export type PaginatedResults_SbomSummary = {
SbomHead &
(null | SourceDocument) & {
described_by: Array<SbomPackage>;
/**
* The number of packages this SBOM has
*/
number_of_packages: number;
}
>;
total: number;
Expand Down Expand Up @@ -761,6 +765,10 @@ export type SbomStatus = {
export type SbomSummary = SbomHead &
(null | SourceDocument) & {
described_by: Array<SbomPackage>;
/**
* The number of packages this SBOM has
*/
number_of_packages: number;
};

/**
Expand Down

0 comments on commit 877f423

Please sign in to comment.