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 3333397 commit 9dcee01
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 38 deletions.
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
coverage==7.6.0
marshmallow==3.21.3
pytest==8.2.2
pytest==8.3.1
python-dotenv==1.0.1
requests==2.32.3
sanic==24.6.0
setuptools==71.0.3
specmatic==2.0.0
setuptools==71.1.0
specmatic==2.0.1
35 changes: 0 additions & 35 deletions specmatic.json

This file was deleted.

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

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

0 comments on commit 9dcee01

Please sign in to comment.