Overview of OpenRPC extensions

Fern supports a variety of OpenRPC extensions that enhance your API specification and generate higher-quality SDKs.

You can apply these extensions in two ways: by overlaying them in separate override files or by embedding them directly in your OpenRPC specification. See Overrides for more information.

Available extensions

The table below shows all available extensions and links to detailed documentation for each one.

ExtensionDescription
x-fern-ignoreSkip reading specific methods or schemas
x-fern-examplesProvide additional examples for better SDK documentation
x-fern-paginationConfigure pagination for methods that return multiple results
x-fern-retryConfigure retry behavior for methods
x-fern-timeoutConfigure timeout settings for methods
x-fern-error-handlingConfigure error handling for methods
x-fern-availabilityMark features as available in specific SDK versions
x-fern-streamingMark methods as streaming for appropriate SDK generation
x-fern-server-nameSpecify custom names for servers
x-fern-base-pathConfigure base paths for generated SDK clients
x-fern-sdk-group-nameGroup related methods in the SDK
Request a new extension

If there’s an extension you want that doesn’t already exist, file an issue to start a discussion about it.