How to specify base-paths in specmatic test #1089
Unanswered
akshat55narang
asked this question in
Ask For Help
Replies: 1 comment
-
Hey @akshat55narang, apologies for the radio silence on this. This is a very good point that you've raised. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We have a use case in which the base-paths are defined in the servers attribute. Refer to the below screen shot.
To run the test on a single yaml, I provide the base-path in --testBaseUrl parameter itself.
Could you please share how can I run contract tests when the specmatic.json has multiple yaml files each with a different base path ?
specmatic.json
{ "sources": [ { "provider" : "filesystem", "test" : [ "pets.yaml", "products.yaml" ] } ] }
Example yaml products.yaml
pets.yaml
Beta Was this translation helpful? Give feedback.
All reactions