Skip to content

Commit

Permalink
Documentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhannes committed Jul 17, 2024
1 parent 2d22f65 commit 3475b59
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,26 +39,27 @@ Add to your `pom.xml`:
<version>7.7.0</version>
<executions>
<execution>
<id>petstore-java</id>
<id>openapi-java</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<generatorName>java-lombok</generatorName>
<!-- REPLACE WITH YOUR OWN SPECIFICATION -->
<inputSpec>${project.basedir}/src/main/openapi-spec/openapi.yaml</inputSpec>
<generatorName>java-annotationfree</generatorName>
<!-- REPLACE WITH YOUR OWN PACKAGE NAME -->
<packageName>io.example.openapi</packageName>
<modelNameSuffix>Dto</modelNameSuffix>
<!-- IF YOU WANT TO GENERATE FROM MORE THAN ONE SPEC, YOU PROBABLY WANT SEVERAL OUTPUTS -->
<output>target/generated-sources/openapi-java</output>
<configOptions>
<generateModelTests>true</generateModelTests>
</configOptions>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>io.github.jhannes.openapi</groupId>
<artifactId>openapi-generator-java-lombok</artifactId>
<version>0.6.0</version>
<version>0.1.2</version>
</dependency>
</dependencies>
</plugin>
Expand Down

0 comments on commit 3475b59

Please sign in to comment.