Global Configuration
The api.yml
configuration supports global configuration like headers and path parameters.
Global headers
You can specify headers that are meant to be included on every request:
api.yml
Global path parameters
You can specify path parameters that are meant to be included on every request:
api.yml
Overriding the base path
If you have certain endpoints that do not live at the configured base-path
, you can
override the base-path
at the endpoint level.
Global query parameters
You cannot yet specify query parameters that are meant to be included on every request. If you’d like to see this feature, please upvote this issue.