A Java SDK for Milanpetstoresdk.
- API version: 3.5.2
- SDK version: 3.5.2
- Requirements
- Installation
- API Endpoint Services
- API Models
- Testing
- Configuration
- Sample Usage
- License
- Java 8
- Maven
If you use Maven, place the following within the tag in your pom.xml file:
<dependency>
<groupId>io.github.mlanlazc</groupId>
<artifactId>milanpetstoresdk</artifactId>
<version>0.0.1</version>
</dependency>If you use Gradle, paste the next line inside the dependencies block of your build.gradle file:
implementation group: "io.github.mlanlazc", name: "Milanpetstoresdk", version: "0.0.1"All URIs are relative to https://eox352uelardliu.m.pipedream.net.
Click the service name for a full list of the service methods.
| Service |
|---|
| PetsService |
A list documenting all API models for this SDK.
Unit tests aren't available yet. When they are, you'll be able to run them with this command:
mvn clean testYour SDK may require some configuration changes.
package io.github.mlanlazc.examples;
import io.github.mlanlazc.exceptions.ApiException;
import io.github.mlanlazc.Milanpetstoresdk;
public class Main {
public static void main(String[] args) {
Milanpetstoresdk client = new Milanpetstoresdk();
try {
Object response = client.petsService.listPets(9);
System.out.println(response);
} catch(ApiException e) {
e.printStackTrace();
}
}
}Inside this directory is examples/src/main/java/io/github/mlanlazc/examples/Main.java. It's a simple, "hello, world" level program to demonstate this SDK. Run install.sh to prepare the SDK for use.
To see what other functions this SDK is capable of, look inside src/main/java/io/github/mlanlazc/http/*Client.java.
License: MIT. See license in LICENSE.