Bitbucket Cloud

If you use bitbucket.org to host your OpenAPI definition, you need to use this format:

https://api.bitbucket.org/2.0/repositories/{yourcompany or account}/{repository}/src/master/{filepath}

Example:
https://api.bitbucket.org/2.0/repositories/elitesoft/openapi/src/master/yaml/swagger.yaml

a) Public repository: You only need to input your file URL with above format to URL field

b) Private repository: You need to create access token and input this access token to the Access token field of the macro dialog:

image-20240218-152308.png