generator

oas-gen - typescript axios generator

License

License

GroupId

GroupId

io.github.fomin.oas-gen
ArtifactId

ArtifactId

oas-gen-typescript-axios-generator
Last Version

Last Version

0.0.11
Release Date

Release Date

Type

Type

module
Description

Description

generator
oas-gen - typescript axios generator
Project URL

Project URL

https://github.com/fomin/oas-gen
Source Code Management

Source Code Management

https://github.com/fomin/oas-gen

Download oas-gen-typescript-axios-generator

Dependencies

compile (1)

Group / Artifact Type Version
io.github.fomin.oas-gen : oas-gen-core jar 0.0.11

Project Modules

There are no modules declared in this project.

oas-gen

Just another OpenAPI code generator

How to run via command line

java -cp <classpath> io.github.fomin.oasgen.java.MainKt \
        -b <base-directory> \
        -p <schema-path (relative to base directory)> \
        -s <schema-file> \
        -o <output-directory> \
        -n <namespace> \
        -g <generator-id> \
        -c <converter-id> ...

How to use with gradle

plugins {
    id("io.github.fomin.oas-gen") version "<PLUGIN_VERSION>"
}

dependencies {
    // add generators to configuration "oas-gen"
    // there is example for reactor-netty generator
    oasGen("io.github.fomin.oas-gen", "oas-gen-reactor-netty-generator", "0.0.18")
}

oasGen {
    generate(
            generatorId = "java-reactor-netty-client",
            baseDir = file("../../simple-schema"),
            schemaPath = "simple.yaml",
            namespace = "com.example",
            // create java source-set with generated files
            javaSources = true
    )
}

Links and Trademarks

OpenAPI is a trademark of The Linux Foundation https://www.openapis.org/ https://www.linuxfoundation.org/trademark-list/

io.github.fomin.oas-gen

Fomin

Versions

Version
0.0.11