forked from loafle/openapi-generator-original
This commit is contained in:
@@ -162,6 +162,7 @@ public class ApiClient {
|
||||
return objectMapper;
|
||||
}
|
||||
|
||||
{{#isOAuth}}
|
||||
private RequestInterceptor buildOauthRequestInterceptor(OAuthFlow flow, String authorizationUrl, String tokenUrl, String scopes) {
|
||||
switch (flow) {
|
||||
case password:
|
||||
@@ -172,6 +173,7 @@ public class ApiClient {
|
||||
throw new RuntimeException("Oauth flow \"" + flow + "\" is not implemented");
|
||||
}
|
||||
}
|
||||
{{/isOAuth}}
|
||||
|
||||
public ObjectMapper getObjectMapper(){
|
||||
return objectMapper;
|
||||
|
||||
Reference in New Issue
Block a user