@goast/kotlin
TypeScript icon, indicating that this package has built-in type declarations

0.4.5 • Public • Published

gOAst (@goast/kotlin)

@goast/kotlin NPM Version @goast/kotlin JSR Version

gOAst stands for generative Open API specification transformer, a tool designed to transform OpenAPI specifications into various forms with flexibility and extensibility at its core.

For more Information, please visit the gOAst GitHub Repository.

Purpose 👍

The @goast/kotlin package provides generators for Kotlin code generation from OpenAPI specifications.

Usage Example 🚀

import { OpenApiGenerator } from '@goast/core';
import { KotlinModelsGenerator, KotlinSpringControllersGenerator } from '@goast/kotlin';

async function main() {
  await new OpenApiGenerator({ outputDir: '.api' })
    .useType(KotlinModelsGenerator)
    .useType(KotlinSpringControllersGenerator)
    .parseAndGenerateFromDir('.openapi');
}

main();

Available Generators 📚

API Documentation 📖

The API documentation can be found here.

Readme

Keywords

none

Package Sidebar

Install

npm i @goast/kotlin

Weekly Downloads

366

Version

0.4.5

License

MIT

Unpacked Size

2.23 MB

Total Files

925

Last publish

Collaborators

  • masch212