forked from loafle/openapi-generator-original
43 lines
1.8 KiB
XML
43 lines
1.8 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>sample-project</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>sample-project</name>
|
|
<url>https://maven.apache.org</url>
|
|
<build>
|
|
<plugins>
|
|
<!-- activate the plugin -->
|
|
<plugin>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
|
<!-- RELEASE_VERSION -->
|
|
<version>7.7.0</version>
|
|
<!-- /RELEASE_VERSION -->
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
<configuration>
|
|
<validateSpec>false</validateSpec>
|
|
<inputSpec>${project.basedir}/petstore-v3.0-invalid.yaml</inputSpec>
|
|
<generatorName>aspnetcore</generatorName>
|
|
<configOptions>
|
|
<additional-properties>optionalProjectFile=true</additional-properties>
|
|
</configOptions>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>sonatype-snapshots</id>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
</project>
|