Skip to content

Include global parameters in the REST spec #11638

@gmarz

Description

@gmarz

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions