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