-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Global parameters are common in API definition.
Authentication paramters were made specifics with the security property but there is no way to define global common paramters.
Most of the time global parameters are business-less parameters and it make sense to define them globally.
I know it's possible to define reusable parameters through the root parameters property but it's not the same thing, it does not respond to the need.
I have a lot of entry point in the API and I don't want to repeat parameters like lang, pretty or fields which are global and not functionnaly related to each endpoint.
Is there a way I'm not aware to do that like a globalParameters property ?
If not, is it possible to add that for the next specification release as it's a common use case.