Files
openapi-generator/samples/client/others/rust/reqwest/multipart-async

Rust API client for multipart-upload-reqwest-async

Regression test for async multipart file uploads with tokio::fs

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.20.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named multipart-upload-reqwest-async and add the following to Cargo.toml under [dependencies]:

multipart-upload-reqwest-async = { path = "./multipart-upload-reqwest-async" }

Documentation for API Endpoints

All URIs are relative to http://localhost:8080

Class Method HTTP request Description
DefaultApi upload_multiple_fields POST /upload/multiple-fields Upload with multiple form fields
DefaultApi upload_optional_file POST /upload/optional Upload an optional file
DefaultApi upload_single_file POST /upload/single Upload a single file (required parameter)

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author