Skip to content

Commit b85c8bb

Browse files
committed
rebuilt client
1 parent e8ae917 commit b85c8bb

File tree

6 files changed

+1183
-7
lines changed

6 files changed

+1183
-7
lines changed

samples/client/petstore/android-java/src/main/java/io/swagger/client/ApiInvoker.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.apache.http.entity.StringEntity;
1717
import org.apache.http.impl.client.*;
1818
import org.apache.http.impl.conn.*;
19+
import org.apache.http.impl.conn.tsccm.*;
1920
import org.apache.http.params.*;
2021
import org.apache.http.util.EntityUtils;
2122

@@ -381,7 +382,7 @@ public Socket createSocket() throws IOException {
381382
schemeRegistry.register(httpsScheme);
382383
schemeRegistry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
383384

384-
ignoreSSLConnectionManager = new SingleClientConnManager(new BasicHttpParams(), schemeRegistry);
385+
ignoreSSLConnectionManager = new ThreadSafeClientConnManager(new BasicHttpParams(), schemeRegistry);
385386
} catch (NoSuchAlgorithmException e) {
386387
// This will only be thrown if SSL isn't available for some reason.
387388
} catch (KeyManagementException e) {

samples/client/petstore/php/SwaggerPetstore-php/lib/models/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
/**
19-
* testing category description
19+
*
2020
*
2121
* NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
2222
*

0 commit comments

Comments
 (0)