Skip to main content
Home
This package has been archived, and as such it is read-only.
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
23%
Published
a year ago (0.0.3)

gOAst (@masch-spikes/goast-kotlin)

@masch-spikes/goast-kotlin NPM 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 @masch-spikes/goast-kotlin package provides generators for Kotlin code generation from OpenAPI specifications.

Usage Example 🚀

import { OpenApiGenerator } from '@masch-spikes/goast-core';
import { KotlinModelsGenerator, KotlinSpringControllersGenerator } from '@masch-spikes/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.

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:@masch-spikes/goast-kotlin

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";
or

Import directly with a jsr specifier

import * as goast_kotlin from "jsr:@masch-spikes/goast-kotlin";

Add Package

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

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";

Add Package

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

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";

Add Package

vlt install jsr:@masch-spikes/goast-kotlin

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";

Add Package

npx jsr add @masch-spikes/goast-kotlin

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";

Add Package

bunx jsr add @masch-spikes/goast-kotlin

Import symbol

import * as goast_kotlin from "@masch-spikes/goast-kotlin";