Skip to content
Last updated

spec-no-duplicated-method-params

Each method's params list must not contain more than one parameter with the same name.

Open-RPCCompatibility
1.x

API design principles

Duplicate parameter names make it unclear which definition applies and can break tooling that indexes parameters by name.

Configuration

OptionTypeDescription
severitystringPossible values: off, warn, error. Default error (in recommended ruleset).
rules:
  spec-no-duplicated-method-params: error

Resources