diff --git a/client/openapi/trustd.yaml b/client/openapi/trustd.yaml index 76d514d76..c03603000 100644 --- a/client/openapi/trustd.yaml +++ b/client/openapi/trustd.yaml @@ -101,6 +101,24 @@ paths: required: true schema: $ref: '#/components/schemas/Labels' + - name: format + in: query + description: The format of the uploaded document. + required: false + schema: + type: string + enum: + - oSV + - cSAF + - cVE + - sPDX + - cycloneDX + - clearlyDefinedCuration + - clearlyDefined + - cweCatalog + - advisory + - sBOM + - unknown requestBody: content: application/json: @@ -1250,7 +1268,7 @@ paths: get: tags: - sbom - summary: Search for SBOMs + summary: List SBOMs operationId: listSboms parameters: - name: q @@ -1307,6 +1325,34 @@ paths: required: true schema: $ref: '#/components/schemas/Labels' + - name: format + in: query + description: The format of the uploaded document. + required: false + schema: + type: string + enum: + - oSV + - cSAF + - cVE + - sPDX + - cycloneDX + - clearlyDefinedCuration + - clearlyDefined + - cweCatalog + - advisory + - sBOM + - unknown + - name: cache + in: query + description: Await loading the document into the analysis graph cache + required: false + schema: + type: string + enum: + - skip + - queue + - wait requestBody: content: application/octet-stream: