Skip to content

Allow more granularity in paramater naming convention configuration #367

Open
@araki-nobuteru

Description

@araki-nobuteru

Hi folks!

I'd like to have the possibility to configure the paramater naming convention in a more granular way.
The tool currently validates all types of parameters (path, query string, body, form) using the same name convention. The ideia is to allow an individual configuration for each type of parameter.
Something like the snippet below in options.json file:

"parameterNamingConvention": {
    "path": "HypenCase",
    "query": "CamelCase",
    "body":  "AnyCase"
}

If the user doesn't specify the naming convention for some parameter type, the would consider a default convention.

Does this idea make sense?

Thank you!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions