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
1name: api
2headers:
3 X-App-Id: string

Global path parameters

You can specify path parameters that are meant to be included on every request:

api.yml
1name: api
2base-path: /{userId}/{orgId}
3path-parameters:
4 userId: string
5 orgId: string

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.