Reference
The exported symbols, their type definitions, and the options each one takes. For how the pieces fit together, start with the guide.
Methods
| Method | What it does |
|---|---|
createClient | Creates a client from default fetch options. Every APIful client starts here. |
createOpenAPIClient | Creates a client typed from a generated OpenAPI schema, without the extension chain. |
defineApifulConfig | Declares the services the generate command reads. |
Types
| Type | What it describes |
|---|---|
ApiClient | The client itself: its default options and the with method that extends it. |
HandlerExtensionBuilder | An extension that gives the client its call signature. |
MethodsExtensionBuilder | An extension that adds named methods to the client. |
Extensions
OpenAPI Type Helpers reach into a generated schema for the request and response types of a single operation – useful when you need to name one in a signature of your own.