| slug | /docs/cli/rules/openrpc/spec-no-duplicated-method-params |
|---|
Each method's params list must not contain more than one parameter with the same name.
| Open-RPC | Compatibility |
|---|---|
| 1.x | ✅ |
Duplicate parameter names make it unclear which definition applies and can break tooling that indexes parameters by name.
| Option | Type | Description |
|---|---|---|
| severity | string | Possible values: off, warn, error. Default error (in recommended ruleset). |
rules:
spec-no-duplicated-method-params: error