mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-07 12:29:00 +00:00
* Add rust-server-deprecated generator in preparation for hyper1 upgrade to rust-server generator * [Rust Server] Fix spacing in `Cargo.mustache` (#17876) * [Rust Server] Update dependency versions in `Cargo.mustache` (#17876) * [Rust Server] Update templates so generated client and server compile (#17876) * [Rust Server] Get `server` example to compile (#17876) * [Rust Server] Update `client` example to compile (#17876) * [Rust Server] Update `bin/cli.rs` to compile (#17876) * Revert changes to use typed auth in rust-server. Run sample generation. * Hyper1 fixup compilation errors in all examples * Add tests to all examples, clippy, tests, cli-bin, run examples * Use headers Auth structs * Fixup various clippy lints * Move more Service impl to use BoxBody * Reduce generic restriction on some Service impl where possible * Appease clippy lints in rust 1.88 --------- Co-authored-by: Azriel Hoh <azriel@healthpoint.co.nz>
74 lines
2.8 KiB
XML
74 lines
2.8 KiB
XML
<project>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>org.openapitools</groupId>
|
|
<artifactId>RustServerTests</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>Rust Petstore Sample</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>build</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>cargo</executable>
|
|
<arguments>
|
|
<argument>build</argument>
|
|
<argument>--examples</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>test</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>cargo</executable>
|
|
<arguments>
|
|
<argument>test</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>clippy</id>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<configuration>
|
|
<executable>cargo</executable>
|
|
<arguments>
|
|
<argument>clippy</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|