openapi-generator/samples
Benjamin Gill 1a831f73f3 [rust-server] Plaintext support; encode params (#7082)
* MMORCH-428: Export the Authorization struct

This is needed so that code can check that the version of Authorization
in the auto-generated code is the same as the version it is using. If
the versions are not exactly the same then the lookup into the TypeMap
will not work.

* Add Rust as a supported language for client and server.

Clarify that there are two Rust client implementations, and one Rust server implementation.

* Percent-encode path and query parameters in client URLs
Fixes #122

Also don't include a question mark at the end of the path when there are no query paramters.
Fixes #121

* Rust2 client: add --host and --port parameters to example client.

Allows the example command-line client to override the default host and port.

* Extract default host and port from Swagger file.

* Derive 'Eq' and 'Ord' on enums

* Rust2: improve server code structure.

    server.rs (main.rs) - main entry point for binary; starts the web server and points it at the server code within the library.
    server_lib/mod.rs (lib.rs) - root of library; creates the server.
    server_lib/server.rs (server.rs) - actual server code

The old server_lib/mod.rs is now server_lib/server.rs; server_lib/mod.rs is new.

This structure is easy to map onto a server implementation; unfortunately we can't get it exactly right here because of the limitations of cargo's examples/ folder.

* Rust2: Explain fully how to use the example code in your project.

* Added plaintext support

* Linting

* MGJ Markups
2017-12-08 18:42:14 +08:00
..
client [rust-server] Plaintext support; encode params (#7082) 2017-12-08 18:42:14 +08:00
config/petstore/apache2 ApacheConfGen for HTTP Basic Authentication Proposed implementation (#5800) 2017-06-28 02:48:53 +08:00
documentation/cwiki Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
dynamic-html Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
html Fix #5653 so body parameter schema link matches model anchor (#5655) 2017-05-18 15:16:42 +08:00
html2 remove ref to SO (#6209) 2017-07-29 18:53:08 +08:00
html.md Update samples for several language (just whitespace changes, reordering, VERSION) (#5828) 2017-06-14 01:17:31 +08:00
server [rust-server] Plaintext support; encode params (#7082) 2017-12-08 18:42:14 +08:00
server-generator Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
yaml Spelling fixes 2016-08-27 02:34:33 +03:00