forked from loafle/openapi-generator-original
Add some SSL options Java okhttp-gson client
* Add the `verifyingSsl` option to allow skipping verifying SSL certificate and host name (default to verify) * Add `sslCaCert` to allow customizing the CA certificates
This commit is contained in:
@@ -1299,7 +1299,9 @@ public class DefaultCodegen {
|
||||
sec.flow = oauth2Definition.getFlow();
|
||||
sec.authorizationUrl = oauth2Definition.getAuthorizationUrl();
|
||||
sec.tokenUrl = oauth2Definition.getTokenUrl();
|
||||
sec.scopes = oauth2Definition.getScopes().keySet();
|
||||
if (oauth2Definition.getScopes() != null) {
|
||||
sec.scopes = oauth2Definition.getScopes().keySet();
|
||||
}
|
||||
}
|
||||
|
||||
sec.hasMore = it.hasNext();
|
||||
|
||||
Reference in New Issue
Block a user