diff --git a/requirements.txt b/requirements.txt index 697d250..6d9f938 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ python-dotenv==1.0.0 requests==2.30.0 sanic==23.3.0 sanic-routing==22.8.0 -specmatic==0.16.0 +specmatic==0.17.0 coverage==7.2.7 diff --git a/specmatic.json b/specmatic.json index a5b89fa..046f820 100644 --- a/specmatic.json +++ b/specmatic.json @@ -10,5 +10,26 @@ "in/specmatic/examples/store/api_order_v1.yaml" ] } - ] + ], + "report": { + "formatters": [ + { + "type": "text", + "layout": "table" + } + ], + "types": { + "APICoverage": { + "OpenAPI": { + "successCriteria": { + "minThresholdPercentage": 50, + "maxMissedEndpointsInSpec": 1, + "enforce": true + }, + "excludedEndpoints": [ + ] + } + } + } + } }