Building the API client library requires Maven to be installed.
To install the API client library to your local Maven repository, simply execute:
mvn installTo deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn deployRefer to the official documentation for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-android-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>Add this dependency to your project's build file:
compile "io.swagger:swagger-android-client:1.0.0"At first generate the JAR by executing:
mvn package
Then manually install the following JARs:
- target/swagger-android-client-1.0.0.jar
- target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import io.swagger.client.api.AuthorizationApi;
public class AuthorizationApiExample {
public static void main(String[] args) {
AuthorizationApi apiInstance = new AuthorizationApi();
try {
ResponseErrorSignUpModel result = apiInstance.authSignoutPost();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AuthorizationApi#authSignoutPost");
e.printStackTrace();
}
}
}All URIs are relative to https://staging.wellnet.tctdigital.xyz/api
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AuthorizationApi | authSignoutPost | POST /auth/signout | POST method for logout |
| AuthorizationApi | authSignupPost | POST /auth/signup | POST method for signup action |
| AuthorizationApi | authValidPost | POST /auth/valid | POST method for validation user credentials |
| DefaultApi | authSigninPost | POST /auth/signin | POST method for login action |
| GymsApi | gymsPost | POST /gyms | get all fitness hals by location and radius |
- RequestGymsByCoord
- RequestSignUpModel
- ResponseErrorSignUpModel
- ResponseSignUpModel
- ResponseSignUpModelData
- ReuaestLoginModel
All endpoints do not require authorization. Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.