Skip to content

Commit 32a4580

Browse files
authored
Merge pull request #919 from metacpan/ssoriche/cover_responses
Add detailed response data for cover
2 parents 11c6a73 + 12bdc74 commit 32a4580

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

root/static/requests/cover.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,37 @@ cover:
2323
schema:
2424
type: object
2525
properties:
26-
name:
26+
url:
2727
type: string
28+
description: URL for cpancover report
29+
version:
30+
type: string
31+
description: Package version string
32+
release:
33+
type: string
34+
description: Package name with version
35+
criteria:
36+
type: object
37+
description: CPAN Cover results
38+
properties:
39+
total:
40+
type: string
41+
description: Percentage of total code coverage
42+
condition:
43+
type: string
44+
description: Percentage of condition code coverage
45+
statement:
46+
type: string
47+
description: Percentage of statement code coverage
48+
branch:
49+
type: string
50+
description: Percentage of branch code coverage
51+
subroutine:
52+
type: string
53+
description: Percentage of subroutine code coverage
54+
distribution:
55+
type: string
56+
description: Name of the distribution
2857
default:
2958
description: "unexpected error"
3059
schema:

0 commit comments

Comments
 (0)