Generators can define plugin points to expand their functionality. For example, a plugin might add support for gRPC or add Auth0 authorization checks

GitHub - fern-api/fern: A framework for building APIs. Think of it as an alternative to OpenAPI (f.k.a. Swagger).

submited by
Style Pass
2022-06-30 04:30:07

Generators can define plugin points to expand their functionality. For example, a plugin might add support for gRPC or add Auth0 authorization checks for each endpoint.

Use HTTP when you want RESTful calls. Use WebSockets when you want subscriptions. Use TCP when you care about performance. Fern manages the transport layer and provides similar interfaces so you can use the best protocol for the job.

An API begins as a Fern Definition, a set of YAML files that describe your API. For example, here's a Fern Definition for a simple API to get the current day of the week:

Leave a Comment