Skip to content

Commit

Permalink
Upgraded to Specmatic Python 0.17.0
Browse files Browse the repository at this point in the history
Added report configuration section in specmatic.json.
  • Loading branch information
jaydeepk committed Aug 29, 2023
1 parent 5d92ff9 commit 895594d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
23 changes: 22 additions & 1 deletion specmatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
]
}
}
}
}
}

0 comments on commit 895594d

Please sign in to comment.