Marcel Märtens 78ea8afa84
[Rust] harden against name collisions while generate cleaner rust code, fix #20337 (#20396)
* 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
2025-01-13 17:43:13 +08:00
..
2024-11-18 20:15:29 +08:00

Rust API client for regression-16119-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.1.0
  • Package version: 0.1.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 regression-16119-reqwest and add the following to Cargo.toml under [dependencies]:

regression-16119-reqwest = { path = "./regression-16119-reqwest" }

Documentation for API Endpoints

All URIs are relative to http://api.example.xyz/v1

Class Method HTTP request Description
DefaultApi repro POST /repro

Documentation For Models

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

cargo doc --open

Author