Skip to content

mlanlazc/java-petstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milanpetstoresdk Java SDK 3.5.2

A Java SDK for Milanpetstoresdk.

  • API version: 3.5.2
  • SDK version: 3.5.2

Table of Contents

Requirements

  • Java 8
  • Maven

Installation

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"

API Endpoint Services

All URIs are relative to https://eox352uelardliu.m.pipedream.net.

Click the service name for a full list of the service methods.

Service
PetsService

API Models

A list documenting all API models for this SDK.

Testing

Unit tests aren't available yet. When they are, you'll be able to run them with this command:

mvn clean test

Configuration

Your SDK may require some configuration changes.

Sample Usage

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

License: MIT. See license in LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published