Skip to content

Commit

Permalink
Updated to Specmatic 2.0.1
Browse files Browse the repository at this point in the history
- Use Yaml for Specmatic config.
  • Loading branch information
StarKhan6368 committed Jul 22, 2024
1 parent 7814ad5 commit 8c92740
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 34 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
coverage==7.6.0
Flask==3.0.3
marshmallow==3.21.3
pytest==8.2.2
specmatic==2.0.0
pytest==8.3.1
specmatic==2.0.1
32 changes: 0 additions & 32 deletions specmatic.json

This file was deleted.

18 changes: 18 additions & 0 deletions specmatic.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
sources:
- provider: git
repository: https://github.com/znsio/specmatic-order-contracts.git
provides:
- io/specmatic/examples/store/openapi/api_order_v3.yaml

report:
formatters:
- type: text
layout: table
types:
APICoverage:
OpenAPI:
successCriteria:
minThresholdPercentage: 44
maxMissedEndpointsInSpec: 4
enforce: true
excludedEndpoints: []

0 comments on commit 8c92740

Please sign in to comment.