mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-10 19:00:53 +00:00
* prevent all name clashes by using a prefix for all parameters, this way they CANNOT clash with anything locally, as our hardcoded stuff in mustache files doesnt start with "p_" , when using the grouped option, we just use the params directly and dont unpack the variables at all, prevending furthur name clashes. * get rid of "local_var" prefix, now that we no longer clash with paramater names * fix a typo and remove the r# generated to the paramName when we create the identifier * java code formatting and added a fake-endpoint parameter test * update rust samples
Rust API client for composed-oneof-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: 1.0.0
- Package version: 1.0.0
- Generator version: 7.11.0-SNAPSHOT
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Installation
Put the package under your project folder in a directory named composed-oneof-reqwest
and add the following to Cargo.toml
under [dependencies]
:
composed-oneof-reqwest = { path = "./composed-oneof-reqwest" }
Documentation for API Endpoints
All URIs are relative to http://localhost:8000
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | create_state | POST /state | |
DefaultApi | get_state | GET /state |
Documentation For Models
- CreateStateRequest
- CustomOneOfArraySchemaInner
- CustomOneOfSchema
- GetState200Response
- ObjA
- ObjB
- ObjC
- ObjD
To get access to the crate's generated documentation, use:
cargo doc --open