-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(backend): Required Gates (#2888)
* feature(backend): Required Gates * adding tests and fixing bugs * adding tests and fixing bugs * addressing PR comments * addressing PR comments
- Loading branch information
Showing
28 changed files
with
839 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
openapi: 3.0.0 | ||
components: | ||
schemas: | ||
TestRunnerResource: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
description: "Represents the type of this resource. It should always be set as 'TestRunner'." | ||
enum: | ||
- TestRunner | ||
spec: | ||
$ref: "#/components/schemas/TestRunner" | ||
TestRunner: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
description: "ID of the test runner resource. It should always be set as 'current'." | ||
enum: | ||
- current | ||
name: | ||
type: string | ||
description: "Name given for this test runner set" | ||
requiredGates: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
RequiredGatesResult: | ||
type: object | ||
properties: | ||
required: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
failed: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
passed: | ||
type: boolean | ||
required: | ||
- passed | ||
- failed | ||
- required | ||
SupportedGates: | ||
type: string | ||
enum: | ||
- analyzer-score | ||
- analyzer-rules | ||
- test-specs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.