Skip to content

Commit

Permalink
Revert ":seedling: Match JSON output produced by Scorecard (#377)" (#425
Browse files Browse the repository at this point in the history
)

This reverts commit 3af07db.

Signed-off-by: Spencer Schrock <sschrock@google.com>
  • Loading branch information
spencerschrock authored Jun 21, 2023
1 parent 718d2db commit 801ba9b
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 43 deletions.
14 changes: 7 additions & 7 deletions app/generated/models/scorecard_check.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/generated/models/scorecard_result.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 13 additions & 23 deletions app/generated/restapi/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 8 additions & 12 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ definitions:
$ref: '#/definitions/ScorecardCheck'
metadata:
type: string
x-nullable: true
x-omitempty: false
x-order: 5

Repo:
Expand Down Expand Up @@ -200,31 +198,29 @@ definitions:
ScorecardCheck:
type: object
properties:
details:
type: array
name:
type: string
x-order: 0
items:
type: string
score:
type: integer
x-omitempty: false
x-order: 1
reason:
type: string
x-order: 2
name:
type: string
x-order: 3
documentation:
type: object
x-order: 4
x-order: 3
properties:
url:
type: string
x-order: 0
short:
type: string
x-order: 1
details:
type: array
x-order: 4
items:
type: string

VerifiedScorecardResult:
type: object
Expand Down

0 comments on commit 801ba9b

Please sign in to comment.