forked from loafle/openapi-generator-original
In 5.0.1 the generated line in `ApiClient` was: ``` return RequestBody.create(MediaType.parse(contentType), (byte[]) obj); ``` in 5.1.0 it is: ``` return RequestBody.create((byte[]) obj, MediaType.parse(contentType)); ``` Looks like this change was introduced in #8969, and requires a more recent version of OkHttp to compile in some (all?) circumstances.
This commit is contained in:
parent
ad9e2395ac
commit
83adc064a4
@ -104,8 +104,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.swagger:swagger-annotations:1.5.24'
|
implementation 'io.swagger:swagger-annotations:1.5.24'
|
||||||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
implementation 'com.squareup.okhttp3:okhttp:3.14.7'
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.7'
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'io.gsonfire:gson-fire:1.8.4'
|
implementation 'io.gsonfire:gson-fire:1.8.4'
|
||||||
{{#hasOAuthMethods}}
|
{{#hasOAuthMethods}}
|
||||||
|
@ -100,8 +100,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.swagger:swagger-annotations:1.5.24'
|
implementation 'io.swagger:swagger-annotations:1.5.24'
|
||||||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
implementation 'com.squareup.okhttp3:okhttp:3.14.7'
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.7'
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'io.gsonfire:gson-fire:1.8.4'
|
implementation 'io.gsonfire:gson-fire:1.8.4'
|
||||||
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
||||||
|
@ -100,8 +100,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.swagger:swagger-annotations:1.5.24'
|
implementation 'io.swagger:swagger-annotations:1.5.24'
|
||||||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
implementation 'com.squareup.okhttp3:okhttp:3.14.7'
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.7'
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'io.gsonfire:gson-fire:1.8.4'
|
implementation 'io.gsonfire:gson-fire:1.8.4'
|
||||||
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
||||||
|
@ -100,8 +100,8 @@ if(hasProperty('target') && target == 'android') {
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.swagger:swagger-annotations:1.5.24'
|
implementation 'io.swagger:swagger-annotations:1.5.24'
|
||||||
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
implementation "com.google.code.findbugs:jsr305:3.0.2"
|
||||||
implementation 'com.squareup.okhttp3:okhttp:3.14.7'
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
||||||
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.7'
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1'
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'io.gsonfire:gson-fire:1.8.4'
|
implementation 'io.gsonfire:gson-fire:1.8.4'
|
||||||
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
implementation group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user