Skip to content

Conversation

vaelen
Copy link
Contributor

@vaelen vaelen commented Jan 9, 2014

Updates the android target to use a version of HttpClient that is closer to the version shipped with Android. Also adds support for skipping SSL certificate verification. This allows the client to be used with self signed certificates.

vaelen added 3 commits January 8, 2014 16:31
to the version shipped with Android.  Also adds support for skipping SSL
certificate verifcation.  This allows the client to be used with self
signed certificates.

Conflicts:
	src/main/resources/android-java/apiInvoker.mustache
@vaelen
Copy link
Contributor Author

vaelen commented Jan 16, 2014

This code only works with the 4.0 build of HttpClient, which is (close to) what shipped with Android. Newer versions of HttpClient use nicer mechanisms for doing this.

fehguy added a commit that referenced this pull request Jan 17, 2014
Update android target to work with self signed certificates if needed.
@fehguy fehguy merged commit 32d792d into swagger-api:master Jan 17, 2014
bjgill pushed a commit to Metaswitch/swagger-codegen that referenced this pull request Nov 30, 2017
Fixes swagger-api#122

Also don't include a question mark at the end of the path when there are no query paramters.
Fixes swagger-api#121
wing328 pushed a commit that referenced this pull request Dec 8, 2017
* 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
Gingonic pushed a commit to wirelane/swagger-codegen that referenced this pull request Dec 9, 2017
* 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 swagger-api#122

Also don't include a question mark at the end of the path when there are no query paramters.
Fixes swagger-api#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants