Skip to main content

Code generators

Fern makes it easy to code generate SDKs, server interfaces, a Postman collection, and an OpenAPI description.

Generate SDKs

JavaScript/TypeScript

fernapi/fern-typescript-sdk: A JavaScript SDK, fully typed with TypeScript declarations. Build Node.js, web, and mobile web applications.

Java

fernapi/fern-java-sdk: A Java SDK.

Python

fernapi/fern-python-sdk: A Python SDK.

Generate server interfaces

TypeScript Express

fernapi/fern-typescript-express: Validation that your JavaScript or TypeScript Express server correctly implements your API. (Requires private beta login!)

Java Spring

fernapi/fern-java-spring: Validation that your Java Spring server correctly implements your API. (Requires private beta login!)

Python FastAPI

fernapi/fern-python-fastapi: Validation that your Python FastAPI server correctly implements your API. (Requires private beta login!)

Generate a Postman Collection

fernapi/fern-postman: generates a Postman Collection. If you'd like to use the Postman integration to auto-update your collection, read on.

Generate an OpenAPI description

fernapi/fern-openapi: generates an OpenAPI description.

Contributing

Fern gives a lot of importance to being a community project, and we rely on your help as much as you rely on ours. If you'd like to write a code generator, reach out.