Ross Sullivan 4ba87ae0e7
[rust] Added support for text/plain to reqwest clients (#20643)
* [rust] Added support for text/plain to reqwest-trait client

* Updated samples

* [rust] Added support for text/plain to reqwest client

* Updated samples

* cleanup

* reduced compiler warnings

* fixed text/plain content with charset

* Only deserialize text/plain if the API produces it
2025-02-17 20:00:43 +08:00
..
2025-01-21 00:10:09 +08:00

Rust API client for api-ref-param-reqwest

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: 0.0.0
  • Package version: 0.0.0
  • Generator version: 7.12.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

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

api-ref-param-reqwest = { path = "./api-ref-param-reqwest" }

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
DefaultApi demo_color_get GET /demo/{color}

Documentation For Models

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

cargo doc --open

Author