oas-gen-jackson-rt

Just another OpenAPI code generator. Jackson support classes

License

License

Categories

Categories

Jackson Data JSON
GroupId

GroupId

io.github.fomin
ArtifactId

ArtifactId

oas-gen-jackson-rt
Last Version

Last Version

0.0.10
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

oas-gen-jackson-rt
Just another OpenAPI code generator. Jackson support classes
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-jackson-rt

Dependencies

compile (1)

Group / Artifact Type Version
com.fasterxml.jackson.core : jackson-core jar 2.11.0.rc1

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

Fomin

Versions

Version
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1