File tree Expand file tree Collapse file tree 8 files changed +25
-18
lines changed
modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson
samples/client/petstore/java/okhttp-gson
src/main/java/io/swagger/client Expand file tree Collapse file tree 8 files changed +25
-18
lines changed Original file line number Diff line number Diff line change 68
68
<plugin >
69
69
<groupId >org.codehaus.mojo</groupId >
70
70
<artifactId >build-helper-maven-plugin</artifactId >
71
+ <version >1.10</version >
71
72
<executions >
72
73
<execution >
73
74
<id >add_sources</id >
104
105
<target >1.7</target >
105
106
</configuration >
106
107
</plugin >
107
- <!-- For testing build.gradle -->
108
+ <!-- For testing build.gradle, build.sbt -->
108
109
<plugin >
109
110
<groupId >org.codehaus.mojo</groupId >
110
111
<artifactId >exec-maven-plugin</artifactId >
123
124
</arguments >
124
125
</configuration >
125
126
</execution >
127
+ <execution >
128
+ <id >sbt-test</id >
129
+ <phase >integration-test</phase >
130
+ <goals >
131
+ <goal >exec</goal >
132
+ </goals >
133
+ <configuration >
134
+ <executable >sbt</executable >
135
+ <arguments >
136
+ <argument >publishLocal</argument >
137
+ </arguments >
138
+ </configuration >
139
+ </execution >
126
140
</executions >
127
141
</plugin >
128
-
129
142
</plugins >
130
143
</build >
131
144
<dependencies >
164
177
<gson-version >2.6.2</gson-version >
165
178
<maven-plugin-version >1.0.0</maven-plugin-version >
166
179
<junit-version >4.12</junit-version >
180
+ <project .build.sourceEncoding >UTF-8</project .build.sourceEncoding >
167
181
</properties >
168
182
</project >
Original file line number Diff line number Diff line change 68
68
<plugin >
69
69
<groupId >org.codehaus.mojo</groupId >
70
70
<artifactId >build-helper-maven-plugin</artifactId >
71
+ <version >1.10</version >
71
72
<executions >
72
73
<execution >
73
74
<id >add_sources</id >
104
105
<target >1.7</target >
105
106
</configuration >
106
107
</plugin >
107
- <!-- For testing build.gradle -->
108
+ <!-- For testing build.gradle, build.sbt -->
108
109
<plugin >
109
110
<groupId >org.codehaus.mojo</groupId >
110
111
<artifactId >exec-maven-plugin</artifactId >
123
124
</arguments >
124
125
</configuration >
125
126
</execution >
126
- </executions >
127
- </plugin >
128
- <!-- For testing build.sbt -->
129
- <plugin >
130
- <groupId >org.codehaus.mojo</groupId >
131
- <artifactId >exec-maven-plugin</artifactId >
132
- <version >1.2.1</version >
133
- <executions >
134
127
<execution >
135
128
<id >sbt-test</id >
136
129
<phase >integration-test</phase >
146
139
</execution >
147
140
</executions >
148
141
</plugin >
149
-
150
142
</plugins >
151
143
</build >
152
144
<dependencies >
185
177
<gson-version >2.6.2</gson-version >
186
178
<maven-plugin-version >1.0.0</maven-plugin-version >
187
179
<junit-version >4.12</junit-version >
180
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
188
181
</properties >
189
182
</project >
Original file line number Diff line number Diff line change 3
3
import java .util .Map ;
4
4
import java .util .List ;
5
5
6
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
6
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
7
7
public class ApiException extends Exception {
8
8
private int code = 0 ;
9
9
private Map <String , List <String >> responseHeaders = null ;
Original file line number Diff line number Diff line change 1
1
package io .swagger .client ;
2
2
3
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
3
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
4
4
public class Configuration {
5
5
private static ApiClient defaultApiClient = new ApiClient ();
6
6
Original file line number Diff line number Diff line change 1
1
package io .swagger .client ;
2
2
3
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
3
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
4
4
public class Pair {
5
5
private String name = "" ;
6
6
private String value = "" ;
Original file line number Diff line number Diff line change 1
1
package io .swagger .client ;
2
2
3
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
3
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
4
4
public class StringUtil {
5
5
/**
6
6
* Check if the given array contains the given value (with case-insensitive comparison).
Original file line number Diff line number Diff line change 5
5
import java .util .Map ;
6
6
import java .util .List ;
7
7
8
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
8
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
9
9
public class ApiKeyAuth implements Authentication {
10
10
private final String location ;
11
11
private final String paramName ;
Original file line number Diff line number Diff line change 5
5
import java .util .Map ;
6
6
import java .util .List ;
7
7
8
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-05-31T22:17:12.179 +08:00" )
8
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.JavaClientCodegen" , date = "2016-06-02T16:59:44.170 +08:00" )
9
9
public class OAuth implements Authentication {
10
10
private String accessToken ;
11
11
You can’t perform that action at this time.
0 commit comments