Skip to content

Commit

Permalink
Add analysis not yet available responses (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
jellejurre authored Feb 7, 2025
1 parent 202139f commit a0366f8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openapi/components/paths/files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ paths:
responses:
'200':
$ref: ../responses/files/FileAnalysisResponse.yaml
'202':
$ref: ../responses/files/AnalysisNotYetAvailableError.yaml
'404':
$ref: ../responses/files/FileNotFoundError.yaml
operationId: getFileAnalysis
Expand All @@ -263,6 +265,8 @@ paths:
responses:
'200':
$ref: ../responses/files/FileAnalysisResponse.yaml
'202':
$ref: ../responses/files/AnalysisNotYetAvailableError.yaml
'404':
$ref: ../responses/files/FileNotFoundError.yaml
operationId: getFileAnalysisSecurity
Expand All @@ -282,6 +286,8 @@ paths:
responses:
'200':
$ref: ../responses/files/FileAnalysisResponse.yaml
'202':
$ref: ../responses/files/AnalysisNotYetAvailableError.yaml
'404':
$ref: ../responses/files/FileNotFoundError.yaml
operationId: getFileAnalysisStandard
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Error response when requesting file Analysis that is not yet available.
content:
application/json:
schema:
$ref: ../../schemas/Error.yaml
examples:
Analysis Not Yet Available Error:
value:
error:
message: Analysis not yet available
status_code: 202

0 comments on commit a0366f8

Please sign in to comment.