> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Generate OpenRPC Reference > Use Fern Docs to generate OpenRPC Reference documentation from an OpenRPC specification. Fern generates OpenRPC Reference documentation from an [OpenRPC](https://open-rpc.org/) specification. ## Configuration #### Set up your project structure Add your OpenRPC specification file (e.g., `openrpc.yaml`) to your `/fern` directory and create a `generators.yml` that references it: **`generators.yml`** ```yaml generators.yml api: specs: - openrpc: ./openrpc.yml ``` #### Add the OpenRPC Reference to your navigation Add `- api: API Reference` to your navigation in `docs.yml`: **`docs.yml`** ```yml docs.yml navigation: - api: API Reference ``` #### Customize the layout For a full list of configuration options and layout customizations, see [Customize API Reference layout](/learn/docs/api-references/customize-api-reference-layout). ### Include more than one OpenRPC Reference To include multiple OpenRPC definitions in your documentation, use the `api-name` property. The `api-name` corresponds to the folder name containing your OpenRPC definition. **`docs.yml`** ```yaml title="docs.yml" navigation: - api: Wallet API api-name: wallet-api - api: NFT API api-name: nft-api ``` ### Configuration properties **`api.specs[].openrpc`** — required Path to your OpenRPC specification file. You can include multiple OpenRPC specs if your project exposes more than one JSON-RPC API. --- > Use Fern Docs to generate OpenRPC Reference documentation from an OpenRPC specification.