Skip to content

Commit b4aad48

Browse files
committed
docs: update OpenAPI 3.0 specs and remove unused files
- Updated the response definition for 422 errors in OpenAPI 3.0 specs. - Removed unnecessary files to clean up the specification.
1 parent 087a3a3 commit b4aad48

File tree

5 files changed

+6
-30
lines changed

5 files changed

+6
-30
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ frpc.ini
2727
Thumbs.db
2828

2929
# Store only source files in repo
30-
api.yaml
30+
api.yaml
31+
32+
# Generated files
33+
**/sdk/*

testops-api/v2/paths/result.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ post:
22
summary: Create test run result
33
description: |
44
This method allows to create single test run result.
5-
5+
66
If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
77
operationId: create-result-v2
88
tags:
@@ -24,7 +24,7 @@ post:
2424
content:
2525
application/json:
2626
schema:
27-
$ref: '../schemas/ResultCreate.yaml'
27+
$ref: "../schemas/ResultCreate.yaml"
2828
responses:
2929
"202":
3030
description: OK
@@ -38,9 +38,3 @@ post:
3838
description: Not Found
3939
"422":
4040
description: Unprocessable Entity
41-
content:
42-
application/json:
43-
schema:
44-
allOf:
45-
- $ref: '../schemas/responses/BaseErrorResponse.yaml'
46-
- $ref: '../schemas/responses/BaseErrorFieldResponse.yaml'

testops-api/v2/paths/results_bulk.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,3 @@ post:
4343
description: Not Found
4444
"422":
4545
description: Unprocessable Entity
46-
content:
47-
application/json:
48-
schema:
49-
allOf:
50-
- $ref: '../schemas/responses/BaseErrorResponse.yaml'
51-
- $ref: '../schemas/responses/BaseErrorFieldResponse.yaml'

testops-api/v2/schemas/responses/BaseErrorFieldResponse.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

testops-api/v2/schemas/responses/BaseErrorResponse.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)