Axios
Officialv6.7.2@kubb/plugin-axios
kubb add plugin-axios
How-to guides
7 guides
Call operations
Call a generated function with grouped request options, read the typed result, and pass content types or native axios settings for one call.
Configure requests
Set the base URL, credentials, shared headers, and interceptors on the generated Axios client, for every call or for one.
Handle errors
Handle HTTP and network errors in the generated Axios client with ResponseError, or return errors as values with throwOnError: false.
Migrate to v6
Upgrade @kubb/plugin-axios from v5 to v6, which runs on the shared client core from @kubb/plugin-client with axios as the transport.
Configure serialization
Configure how the generated Axios client serializes OpenAPI parameters and encodes request and response bodies by media type.
