What is an OpenRPC Specification?
The OpenRPC Specification is a framework used by developers to document JSON-RPC APIs. The specification is written in JSON or YAML and contains all of your methods, parameters, schemas, and server configurations. Fern is compatible with OpenRPC specification v1.3.2 and v1.2.6.
Below is an example of an OpenRPC file:
openrpc.yml
Set up your fern folder
Considering options to generate an OpenRPC spec? Get live support here
Add your OpenRPC specification
Add your OpenRPC spec to the fern directory. You can place it in a subfolder called openrpc
or directly in the fern directory.