Optional
authConfiguration for the available authentication methods (e.g., api keys)
according to the OpenAPI yaml definition. For the definition, please refer to
./auth/auth
Optional
baseDefault server to use - a list of available servers (according to the
OpenAPI yaml definition) is included in the servers
const in ./servers
. You can also
create your own server with the ServerConfiguration
class from the same
file.
Optional
httpHTTP library to use e.g. IsomorphicFetch. This can usually be skipped as
all generators come with a default library.
If available, additional libraries can be imported from ./http/*
Optional
middlewareThe middlewares which will be applied to requests and responses. You can
add any number of middleware components to modify requests before they
are sent or before they are deserialized by implementing the Middleware
interface defined in ./middleware
Optional
promiseConfigures middleware functions that return promises instead of
Observables (which are used by middleware
). Otherwise allows for the
same functionality as middleware
, i.e., modifying requests before they
are sent and before they are deserialized.
Interface with which a configuration object can be configured.