As per @ktrysmt's comment here tests are being changed so they can be run against both:
- The actual Bitbucket API
- The Swagger documentation from Bitbucket (https://bitbucket.org/api/swagger.json), using Stoplight's Prism
The latter will eventually be run as part of a CI process using Github Actions.
Please refer to ../README.md.
Run in a shell terminal:
docker run --rm -it -p 4010:4010 stoplight/prism:3 mock -h 0.0.0.0 https://bitbucket.org/api/swagger.json
Then in another shell terminal session run:
make test/swagger