Skip to content

RedCrewOS/api-sdk-creator-mpp

Repository files navigation

api-sdk-creator-mpp

Contains Kotlin MPP libraries to aid SDK developers in the creation of API client SDKs.

See the individual library READMEs for more details. The best starting place is with the http-api-client README

📝 This library is still in active development and may break compatibility in future releases

Supported Platforms

Development

The repository is managed by Gradle with each library being a Gradle module. Each module has its own version and can be published and consumed independently.

Building

$ ./gradlew build

Testing

$ ./gradlew jvmTest iosX64Test

Publishing & Using

JVM

JARs are available via Maven Central.

Previous versions are available via JitPack however JitPack can't publish MPP builds.

dependencies {
  implementation "au.com.redcrew.apisdkcreator:http-api-client:0.5.4"
}

iOS

TODO

Companion repositories

Functionality that is often desired in an API pipeline is platform specific, for example, HTTP clients or JSON parsers. While modules in this repo abstracts platform specifics away, in a real application there needs to be an implementation of the abstraction.

To help API SDK developers, companion repos are available with modules that provide specific implementations of abstractions that can suit application requirements.

Docs & examples