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
Start by initializing your fern folder with an OpenRPC spec
This will initialize a directory like the following