Describe the bug
In our openapi.yaml, we define servers
servers:
-
url: 'https://api.myshoptet.com'
And we are unable to override it with -s, --server to test localhost
To Reproduce
We are running dochia test -c openapi/openapi.yaml --server https://api.myshoptet.com.test --path "/api/articles" -H "Shoptet-Access-Token=10000-a-...."
Expected behaviour
-s, --server parameter override servers attribute defined in openapi.
Environment:
openapi.yaml download at https://api.docs.shoptet.com/_bundle/Shoptet%20API/openapi.yaml
Describe the bug
In our openapi.yaml, we define servers
And we are unable to override it with -s, --server to test localhost
To Reproduce
We are running
dochia test -c openapi/openapi.yaml --server https://api.myshoptet.com.test --path "/api/articles" -H "Shoptet-Access-Token=10000-a-...."Expected behaviour
-s, --server parameter override servers attribute defined in openapi.
Environment:
openapi.yaml download at https://api.docs.shoptet.com/_bundle/Shoptet%20API/openapi.yaml