OpenAPI-kt
0.0.9indexedToolset facilitates working with OpenAPI, offering a parser, typed ADT, code generator, and Gradle plugin for generating code and clients from OpenAPI specifications.
23
Stars
—
Used by
dependents
56
Health
/ 100
Toolset facilitates working with OpenAPI, offering a parser, typed ADT, code generator, and Gradle plugin for generating code and clients from OpenAPI specifications.
WORK IN PROGRESS
OpenAPI-kt is a toolset for working with OpenAPI in Kotlin. This project exists out of several pieces, and they can be combined in different ways to achieve different goals.
Core ADT, structures the data in a convenient way to retrieve.OpenAPI Typed ADTAdd the following to your build.gradle.kts file.
plugin {
id("io.github.nomisrev:openapi-kt-gradle-plugin") version "0.0.9"
}
configure<OpenApiExtension> {
specFile.set(rootProject.file("youtrack.json"))
}
Then run the following command to generate the code, but it will also automatically run when you build your project.
./gradlew generateOpenApi
This will generate a io.github.nomisrev.youtrack package with the generated code, in your /build/generated directory.
Surfaced from shared tags and platforms — no rankings paid for.