openapi-processor is a small framework that converts an OpenAPI yaml description to an output format.
openapi-processor (short: oap) does currently support the following formats:
-
oap-spring: an interface & model java code generator for Spring Boot
-
oap-micronaut: an interface & model java code generator for Micronaut
-
oap-json: converts the OpenAPI yaml description to json format
running a processor
openapi-processor supports
-
Maven using the openapi-processor-maven plugin and
-
Gradle using the openapi-processor-gradle plugin
to run any processor.
processor playground
the Playground offers the possibility to play around with the available processors: choose a processor & one of the editable OpenAPI yaml example descriptions and see what the processor generates.
artifact coordinates
The artifacts are available from maven central with the following coordinates:
<dependency>
<groupId>io.openapiprocessor</groupId>
<artifactId>openapi-processor-{project}</artifactId>
<version>{version}</version>
</dependency>
'io.openapiprocessor:openapi-processor-{project}:{version}'
Replace {project}
& {version}
with the required values.
For example spring
, json
or maven
for {project}
and {version}
with the version from the corresponding version badge.