-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswagger_coverage_config.yaml
19 lines (16 loc) · 1.13 KB
/
swagger_coverage_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# List of service configurations.
services:
- key: "my-api-service" # Unique identifier for the service.
name: "My API Service" # Name of the service.
tags: [ "API", "PRODUCTION" ] # Optional list of tags to describe the service.
repository: "https://github.com/my-api" # Optional URL to the repository of the service.
swagger_url: "https://my-api.com/swagger.json" # Optional URL to the Swagger documentation.
# swagger_file: "swagger_file_path.json" # Alternatively, you can provide a file path instead of a URL.
# Directory where coverage results will be stored.
results_dir: "./coverage-results" # This path is relative to the current working directory.
# File where the history of coverage results is saved.
history_file: "./coverage-history.json" # This path is relative to the current working directory.
history_retention_limit: 30 # The maximum number of history records to keep.
# File paths for reports. These are optional, and if not set, reports will not be generated.
html_report_file: "./index.html" # Path to the HTML report file.
json_report_file: "./coverage-report.json" # Path to the JSON report file.