Interface ApiBundle
- All Known Implementing Classes:
DefaultApiBundle
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator")
public interface ApiBundle
A bundle that contains all the individual APIs.
-
Method Summary
-
Method Details
-
client
ApiClient client()- Returns:
- The underlying API client for sending requests and receiving responses.
-
api
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.
-
formsApi
- Returns:
- A FormsApi API instance for sending requests.
-