Releases: openapi-processor/openapi-processor-maven
Releases · openapi-processor/openapi-processor-maven
2024.1.1
2024.1
improved <targetDir>
handling, by @maddingo in #5
the plugin automatically sets <targetDir>
(if not given explicitly) and adds it to the compile source root directories.
It is no longer necessary to use the build-helper-maven-plugin
to add the generated sources to the build. If you want to keep the build-helper-maven-plugin
set <addSourceRoot>
to false
.
The execution configuration can be reduced to
<execution>
<id>api1</id>
<phase>generate-sources</phase>
<configuration>
<id>spring</id>
<apiPath>${project.basedir}/src/api1/openapi.yaml</apiPath>
<!-- optional, defaults to true
<addSourceRoot>false</addSourceRoot>
-->
<options>
<values>
<!-- optional, if not set it will automatically use (last part is the execution id):
<targetDir>${project.basedir}/target/generated-sources/api1</targetDir>
-->
<mapping>${project.basedir}/src/api1/mapping.yaml</mapping>
<parser>INTERNAL</parser>
</values>
</options>
</configuration>
<goals>
<goal>process</goal>
</goals>
</execution>
2021.1
1.0.0.M2
1.0.0.M1
- initial release (on https://jcenter.bintray.com/)