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 Details

    • 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 custom API implementation and pass it to this method, just make sure the implementation has a public single-arg constructor that accepts an ApiClient.
      Parameters:
      apiType - The type of the API to access.
      Returns:
      The API instance of the given type for invoking API calls.
    • profileApi

      default ProfileApi profileApi()
      Returns:
      A ProfileApi API instance for sending requests.
    • userProfileImageApi

      default UserProfileImageApi userProfileImageApi()
      Returns:
      A UserProfileImageApi API instance for sending requests.