Interface of the generated api. All properties of the interface will be treated as functions.
Literal string type of the function name, must be a key of
ApiT and represent a function.
Create an instance of
Constructor of the underlying OpenApi api definition.
Name of the function represented in thie request builder.
Arguments to pass to the api function.
Add custom headers to the request. If a header field with the given name already exists it is overwritten.
Key-value pairs denoting additional custom headers
The request builder itself, to facilitate method chaining
Execute request and get the response data. Use this to conveniently access the data of a service without technical information about the response.
A promise resolving to the requested return type.
Execute request and get a raw AxiosResponse, including all information about the HTTP response. This especially comes in handy, when you need to access the headers or status code of the response.
A promise resolving to an AxiosResponse.