Skip to content

Global/common parameters #341

Closed
Closed
@noirbizarre

Description

@noirbizarre

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions