-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
Currently, global parameters like source and filter_path aren't included in the spec since it's implied that they exist on all APIs, and so defining them on all endpoints becomes unnecessarily repetitive/redundant.
However, I think it's useful to keep a definition of them somewhere other than the documentation, since after all...they are still part of the REST API. This is especially useful for the .NET client, since we rely on the spec to generate the respective C# methods for each query parameter. Without them defined, we have to modify our code generator to include them manually.
I'm not sure how this would fit into the current spec since we define query parameters on a per endpoint basis...but we could think of something. Maybe a single _global.json file?
Just a thought. If others agree that this is a good idea, I'd be happy to devise some solution.