pavlov99 / json-rpc

🔁 JSON-RPC 1/2 transport implementation. Supports python 2/3 and pypy.
http://json-rpc.readthedocs.org
MIT License
464 stars 101 forks source link

Add OpenRPC compatibility #120

Open ergoithz opened 3 years ago

ergoithz commented 3 years ago

Description of the Change

Explicitly enables OpenRPC rpc.discover method.

Alternate Designs

The entire rpc method namespace restriction could be removed, but it's a bigger change that would require a major release.

Benefits

OpenRPC compatibility.

Possible Drawbacks

Anyone could try to implement non-standard stuff on that endpoint.

Applicable Issues

119