-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parsed source "type" property in specmatic.json (sources section).
Used enum strings in API Coverage JSON report for coverage status Defaulted responseCode and count = 0 in OpenApiCoverageOperation so that they will be skipped during json generation if they are set as 0.
- Loading branch information
1 parent
d729162
commit dc15c27
Showing
6 changed files
with
41 additions
and
37 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
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
7 changes: 3 additions & 4 deletions
7
...pport/src/main/kotlin/in/specmatic/test/reports/coverage/json/OpenApiCoverageOperation.kt
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 |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package `in`.specmatic.test.reports.coverage.json | ||
|
||
import `in`.specmatic.test.reports.coverage.console.Remarks | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class OpenApiCoverageOperation( | ||
val path: String, | ||
val method: String, | ||
val responseCode: Int, | ||
val count: Int, | ||
val coverageStatus: Remarks | ||
val responseCode: Int = 0, | ||
val count: Int = 0, | ||
val coverageStatus: String | ||
) |
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