Skip to content

v1.3.0

Compare
Choose a tag to compare
@urbim urbim released this 02 Nov 10:50
· 12 commits to master since this release

We are happy to announce the release of KumuluzEE OpenAPI MicroProfile 1.3.0. This version brings a new Maven plugin which generates OpenAPI schema at compile-time and a new SPI interface which can be used to extend the generated schema.

To use the new Maven plugin add it to pom.xml:

<plugin>
    <artifactId>kumuluzee-openapi-mp-maven-plugin</artifactId>
    <groupId>com.kumuluz.ee.openapi</groupId>
    <version>${kumuluzee-openapi-mp.version}</version>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
</plugin>

On next build the schema will be available in target/generated/openapi.yaml and target/generated/openapi.json. For more information about the maven plugin, see README.

The new SPI interface allows extension developers to extend the generated schema. To use it implement the com.kumuluz.ee.openapi.mp.spi.OasFilterProvider interface and register it with a service file.

Features:

  • Added a new maven plugin for generating OpenAPI schema at compile-time.

Enhancements:

  • Added a new SPI interface OasFilterProvider for extending generated schema.