Interface ApiBundle
-
- All Known Implementing Classes:
DefaultApiBundle
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public interface ApiBundleA bundle that contains all the individual APIs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DefaultApi_defaultApi()<T extends EndpointCategory>
Tapi(Class<T> apiType)Generic method for accessing an API of a particular type.ApiClientclient()default PingApipingApi()
-
-
-
Method Detail
-
client
ApiClient client()
- Returns:
- The underlying API client for sending requests and receiving responses.
-
api
<T extends EndpointCategory> T api(Class<T> apiType)
Generic method for accessing an API of a particular type. The API instance is created lazily as required. You can create a customAPIimplementation and pass it to this method, just make sure the implementation has a public single-arg constructor that accepts anApiClient.- Parameters:
apiType- The type of the API to access.- Returns:
- The API instance of the given type for invoking API calls.
-
_defaultApi
default DefaultApi _defaultApi()
- Returns:
- A DefaultApi API instance for sending requests.
-
pingApi
default PingApi pingApi()
- Returns:
- A PingApi API instance for sending requests.
-
-