Skip to content

API Development Kit provides language specific SDK packages for API-based system-to-system integration. Developers can include the package into their applications to simplify the API client implementation.

License

Notifications You must be signed in to change notification settings

michelin/michelin-na-o2c-sdk

Repository files navigation

michelin-na-o2c-sdk

GitHub Build GitHub release GitHub commits since latest release (by SemVer) GitHub Stars GitHub Watch Docker Pulls Docker Stars License

The API Development Kit (ADK) kicks off with real-world use cases from the Order-to-Cash APIs of Michelin North America's operations. It's designed to supercharge your development and testing process by embracing the power of SDKs.

Forget the tedious grind of building API clients manually by deciphering API specifications. With the ADK, you’ll experience a more seamless, native, and developer-friendly approach to software development.

Built on the robust OpenAPI-Generator, this kit not only simplifies generating SDKs in multiple languages but also showcases how you can do the same for your own APIs, making it a must-have tool for innovation.

And this is just the beginning! We're set to expand the ADK to support additional API-related code generation, including creating API services.

We’re thrilled to invite you to be a part of this journey! Share your ideas, contribute to the project, and help shape the future of API development. Together, let's build something extraordinary!

Table of Contents

Get Started

Install JDK

OpenJDK 17+ is recommended

It is also recommended to use SDKMAN to manage your JDKs

Clone or Download this project

# With SSH key
git clone [email protected]:michelin/michelin-na-o2c-sdk.git

or

git clone https://github.com/michelin/michelin-na-o2c-sdk.git

or
wget -o michelin-na-o2c-sdk.zip https://github.com/michelin/michelin-na-o2c-sdk/archive/refs/heads/main.zip
unzip michelin-na-o2c-sdk.zip

Initialize Maven

If there is no Maven install on your local, you need to initialize it first.

Switch to sub-folder sdk-generator

./mvnw clean install
  • In a Windows terminal
mvnw.cmd clean install

If there is error prompt regarding JAVA_HOME environment variable

  • Set JAVA_HOME in Windows Terminal
set JAVA_HOME=%USERPROFILE%\.sdkman\candidates\java\21.0.1-tem
$env:JAVA_HOME="$HOME\.sdkman\candidates\java\21.0.1-tem"
  • Set JAVA_HOME in Bash Terminal
export JAVA_HOME=$HOME/.sdkman/candidates/java/21.0.1-tem

Generate SDK Source

For the ones who want to directly use our API SDK, you can skip this step.

This step shows how to generate API SDK from OpenAPI spec. You can take the sample of amn-o2c-sdk-java so that you can generate your own API SDKs

  • Switch to to sub-folder sdk-generator
  • Run the Maven command below
./mvnw -f amn-o2c-sdk-java/pom.xml clean generate-sources
mvnw.cmd -f amn-o2c-sdk-java\pom.xml clean generate-sources

Use API SDK

Follow the instructions in the SDK README

Contribution

We welcome contributions from the community! Before you get started, please take a look at our contribution guide to learn about our guidelines and best practices. We appreciate your help in making this project a better tool for everyone.

About

API Development Kit provides language specific SDK packages for API-based system-to-system integration. Developers can include the package into their applications to simplify the API client implementation.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages