generator

oas-gen - java spring-web generator

License

License

GroupId

GroupId

io.github.fomin.oas-gen
ArtifactId

ArtifactId

oas-gen-spring-web-generator
Last Version

Last Version

0.0.33
Release Date

Release Date

Type

Type

module
Description

Description

generator
oas-gen - java spring-web 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-spring-web-generator

Dependencies

compile (1)

Group / Artifact Type Version
io.github.fomin.oas-gen : oas-gen-java-annotated-dto-generator jar 0.0.33

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.33
0.0.32
0.0.31
0.0.30
0.0.29
0.0.28
0.0.27
0.0.26
0.0.25
0.0.24
0.0.23
0.0.22
0.0.21
0.0.20
0.0.19
0.0.19-alpha1
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11