Skip to main content
Home

@goast/kotlin@0.4.19
Built and signed on GitHub Actions

Provides gOAst generators for generating Kotlin code from OpenAPI specifications.

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
JSR Score
76%
Published
2 months ago (0.4.19)

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.

Built and signed on
GitHub Actions

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";
or

Import directly with a jsr specifier

import * as kotlin from "jsr:@goast/kotlin";

Add Package

pnpm i jsr:@goast/kotlin
or (using pnpm 10.8 or older)
pnpm dlx jsr add @goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";

Add Package

yarn add jsr:@goast/kotlin
or (using Yarn 4.8 or older)
yarn dlx jsr add @goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";

Add Package

vlt install jsr:@goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";

Add Package

npx jsr add @goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";

Add Package

bunx jsr add @goast/kotlin

Import symbol

import * as kotlin from "@goast/kotlin";