spec
spec copied to clipboard
The OpenRPC specification
At the moment, if you have server-defined errors that can be returned by any of the methods, you would have to `$ref` the error(s) in each method you have. This...
`CODE_OF_CONDUCT.mdFUNDING.yml.gitattributesREADME.md#> pip3 install solidity_parser #> python3 -m solidity_parser # print parse tree or sourceUnit outlineimport { signTypedData_v4 } from 'eth-sig-util' import { fromRpcSig } from 'ethereumjs-util' // ... other imports...
We're developing a laboratory control protocol [LECO](https://github.com/pymeasure/leco-protocol) and are looking for a way to encode messages. open-rpc seems to be great for encoding method calls. We need, however, to access...
The [spec](https://spec.open-rpc.org/#components-object) for Components object says: > This object MAY be extended with [Specification Extensions](https://spec.open-rpc.org/#specification-extensions). However, the [schema](http://meta.open-rpc.org) does not allow for this: ```json "components": { "title": "components", "type": "object",...
Specifically, this sentence is a little confusing: > Below is the OpenRPC specification for the service discovery method: it really should be specific; we are giving an OpenRPC MethodObject for...
@rmedaer The issue is with methods that take an array of variable length, where the items must match a single schema, or where the items must be oneOf / allOf...
https://github.com/open-rpc/spec/blob/0e08a5c81beeacab462997a4d3bc66c0ba965c6d/spec.md?plain=1#L252 It's always going to be valid JSON. Should also clarify that one of `value` or `externalValue` are required
`OpenRPC.methods: [Method | Reference]`: https://github.com/open-rpc/spec/blob/0e08a5c81beeacab462997a4d3bc66c0ba965c6d/spec.md?plain=1#L113 but there is no `methods` member: https://github.com/open-rpc/spec/blob/0e08a5c81beeacab462997a4d3bc66c0ba965c6d/spec.md?plain=1#L310-L323
## Summary - document `errorGroups` on Method Object - introduce new **Error Group Object** - allow reusable error groups in Components ## Testing - `npm test` *(fails: Cannot find module...