forked from loafle/openapi-generator-original
* Unify sync/async client structure (configuration as first param instead of a struct). * Fix: Hyper client requires the client.rs file. Co-authored-by: Henning Holm <git@henningholm.de> * Add API method comments (description and/or notes when available). Co-authored-by: Henning Holm <git@henningholm.de>
Rust API client for rust-test-reqwest
Special testing for the Rust client 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: 1.0.7
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./generated" }
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | dummy_get | get /dummy | A dummy endpoint to make the spec valid. |
Documentation For Models
To get access to the crate's generated documentation, use:
cargo doc --open