forked from loafle/openapi-generator-original
* return structured serializer * generate samples * implmented postProcessAllModels to fix assignment of inherited models * Templates now respect inheritance * regen dart samples * only built value support for now * ignore unused elements * fixed tests * new configs to test oneOf * add some helper vendorextensions for oneOf support * update templates * regen samples * resolve conflicts * fix missing serializers * Updated samples and fixed merge conflict * updated samples * Follow java conventions * Follow java conventions * updated samples * update sampels 2 * update samples 3 ... * fix underscores * fixed missing imports from java code * update config names * updated samples * updated built_value deps * regen samples * workaround built_value abstract builders google/built_value.dart#1180 * regen samples * updated test pubspec * temp fix rewriteImports for Lists and maps * Add new samples to CI * Improve white spaces & formatting * fix enums not getting assigned correctly * update samples * fixed typo * regen samples * remove repeating imports * regen samples * ignore unused_element warning * updated tests * regen samples Co-authored-by: Peter Leibiger <kuhnroyal@gmail.com>
89 lines
3.5 KiB
XML
89 lines
3.5 KiB
XML
<project>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>DartDioOneOf</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<name>DartDio OneOf</name>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>pub-get</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>pub</executable>
|
|
<arguments>
|
|
<argument>get</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>pub-run-build-runner</id>
|
|
<phase>pre-integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>pub</executable>
|
|
<arguments>
|
|
<argument>run</argument>
|
|
<argument>build_runner</argument>
|
|
<argument>build</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>dart-analyze</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>dart</executable>
|
|
<arguments>
|
|
<argument>analyze</argument>
|
|
<argument>--fatal-infos</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>dart-test</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>dart</executable>
|
|
<arguments>
|
|
<argument>test</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|