Skip to content

Commit fb4fac3

Browse files
committed
regenerate samples
1 parent ef9c9e1 commit fb4fac3

192 files changed

Lines changed: 1186 additions & 1186 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

samples/client/petstore/spring-cloud-auth/src/main/java/org/openapitools/api/SomeApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
@Validated
2525
public interface SomeApi {
2626

27-
public static final String PATH_SOME_ENDPOINT_GET = "/some/endpoint";
27+
String PATH_SOME_ENDPOINT_GET = "/some/endpoint";
2828
/**
2929
* GET /some/endpoint
3030
*

samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/api/DefaultApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
@Api(value = "Default", description = "the Default API")
3131
public interface DefaultApi {
3232

33-
public static final String PATH_GET = "/thingy/{date}";
33+
String PATH_GET = "/thingy/{date}";
3434
/**
3535
* GET /thingy/{date}
3636
*
@@ -61,7 +61,7 @@ ResponseEntity<Void> get(
6161
);
6262

6363

64-
public static final String PATH_UPDATE_PET_WITH_FORM = "/thingy/{date}";
64+
String PATH_UPDATE_PET_WITH_FORM = "/thingy/{date}";
6565
/**
6666
* POST /thingy/{date}
6767
* update with form data

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
@Tag(name = "pet", description = "Everything about your Pets")
4141
public interface PetApi {
4242

43-
public static final String PATH_ADD_PET = "/pet";
43+
String PATH_ADD_PET = "/pet";
4444
/**
4545
* POST /pet : Add a new pet to the store
4646
*
@@ -71,7 +71,7 @@ ResponseEntity<Void> addPet(
7171
);
7272

7373

74-
public static final String PATH_DELETE_PET = "/pet/{petId}";
74+
String PATH_DELETE_PET = "/pet/{petId}";
7575
/**
7676
* DELETE /pet/{petId} : Deletes a pet
7777
*
@@ -103,7 +103,7 @@ ResponseEntity<Void> deletePet(
103103
);
104104

105105

106-
public static final String PATH_FIND_PETS_BY_STATUS = "/pet/findByStatus";
106+
String PATH_FIND_PETS_BY_STATUS = "/pet/findByStatus";
107107
/**
108108
* GET /pet/findByStatus : Finds Pets by status
109109
* Multiple status values can be provided with comma separated strings
@@ -139,7 +139,7 @@ ResponseEntity<List<Pet>> findPetsByStatus(
139139
);
140140

141141

142-
public static final String PATH_FIND_PETS_BY_TAGS = "/pet/findByTags";
142+
String PATH_FIND_PETS_BY_TAGS = "/pet/findByTags";
143143
/**
144144
* GET /pet/findByTags : Finds Pets by tags
145145
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
@@ -178,7 +178,7 @@ ResponseEntity<List<Pet>> findPetsByTags(
178178
);
179179

180180

181-
public static final String PATH_GET_PET_BY_ID = "/pet/{petId}";
181+
String PATH_GET_PET_BY_ID = "/pet/{petId}";
182182
/**
183183
* GET /pet/{petId} : Find pet by ID
184184
* Returns a single pet
@@ -216,7 +216,7 @@ ResponseEntity<Pet> getPetById(
216216
);
217217

218218

219-
public static final String PATH_UPDATE_PET = "/pet";
219+
String PATH_UPDATE_PET = "/pet";
220220
/**
221221
* PUT /pet : Update an existing pet
222222
*
@@ -251,7 +251,7 @@ ResponseEntity<Void> updatePet(
251251
);
252252

253253

254-
public static final String PATH_UPDATE_PET_WITH_FORM = "/pet/{petId}";
254+
String PATH_UPDATE_PET_WITH_FORM = "/pet/{petId}";
255255
/**
256256
* POST /pet/{petId} : Updates a pet in the store with form data
257257
*
@@ -286,7 +286,7 @@ ResponseEntity<Void> updatePetWithForm(
286286
);
287287

288288

289-
public static final String PATH_UPLOAD_FILE = "/pet/{petId}/uploadImage";
289+
String PATH_UPLOAD_FILE = "/pet/{petId}/uploadImage";
290290
/**
291291
* POST /pet/{petId}/uploadImage : uploads an image
292292
*

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@Tag(name = "store", description = "Access to Petstore orders")
4040
public interface StoreApi {
4141

42-
public static final String PATH_DELETE_ORDER = "/store/order/{orderId}";
42+
String PATH_DELETE_ORDER = "/store/order/{orderId}";
4343
/**
4444
* DELETE /store/order/{orderId} : Delete purchase order by ID
4545
* For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
@@ -68,7 +68,7 @@ ResponseEntity<Void> deleteOrder(
6868
);
6969

7070

71-
public static final String PATH_GET_INVENTORY = "/store/inventory";
71+
String PATH_GET_INVENTORY = "/store/inventory";
7272
/**
7373
* GET /store/inventory : Returns pet inventories by status
7474
* Returns a map of status codes to quantities
@@ -100,7 +100,7 @@ ResponseEntity<Map<String, Integer>> getInventory(
100100
);
101101

102102

103-
public static final String PATH_GET_ORDER_BY_ID = "/store/order/{orderId}";
103+
String PATH_GET_ORDER_BY_ID = "/store/order/{orderId}";
104104
/**
105105
* GET /store/order/{orderId} : Find purchase order by ID
106106
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
@@ -135,7 +135,7 @@ ResponseEntity<Order> getOrderById(
135135
);
136136

137137

138-
public static final String PATH_PLACE_ORDER = "/store/order";
138+
String PATH_PLACE_ORDER = "/store/order";
139139
/**
140140
* POST /store/order : Place an order for a pet
141141
*

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@Tag(name = "user", description = "Operations about user")
4040
public interface UserApi {
4141

42-
public static final String PATH_CREATE_USER = "/user";
42+
String PATH_CREATE_USER = "/user";
4343
/**
4444
* POST /user : Create user
4545
* This can only be done by the logged in user.
@@ -70,7 +70,7 @@ ResponseEntity<Void> createUser(
7070
);
7171

7272

73-
public static final String PATH_CREATE_USERS_WITH_ARRAY_INPUT = "/user/createWithArray";
73+
String PATH_CREATE_USERS_WITH_ARRAY_INPUT = "/user/createWithArray";
7474
/**
7575
* POST /user/createWithArray : Creates list of users with given input array
7676
*
@@ -101,7 +101,7 @@ ResponseEntity<Void> createUsersWithArrayInput(
101101
);
102102

103103

104-
public static final String PATH_CREATE_USERS_WITH_LIST_INPUT = "/user/createWithList";
104+
String PATH_CREATE_USERS_WITH_LIST_INPUT = "/user/createWithList";
105105
/**
106106
* POST /user/createWithList : Creates list of users with given input array
107107
*
@@ -132,7 +132,7 @@ ResponseEntity<Void> createUsersWithListInput(
132132
);
133133

134134

135-
public static final String PATH_DELETE_USER = "/user/{username}";
135+
String PATH_DELETE_USER = "/user/{username}";
136136
/**
137137
* DELETE /user/{username} : Delete user
138138
* This can only be done by the logged in user.
@@ -164,7 +164,7 @@ ResponseEntity<Void> deleteUser(
164164
);
165165

166166

167-
public static final String PATH_GET_USER_BY_NAME = "/user/{username}";
167+
String PATH_GET_USER_BY_NAME = "/user/{username}";
168168
/**
169169
* GET /user/{username} : Get user by user name
170170
*
@@ -199,7 +199,7 @@ ResponseEntity<User> getUserByName(
199199
);
200200

201201

202-
public static final String PATH_LOGIN_USER = "/user/login";
202+
String PATH_LOGIN_USER = "/user/login";
203203
/**
204204
* GET /user/login : Logs user into the system
205205
*
@@ -234,7 +234,7 @@ ResponseEntity<String> loginUser(
234234
);
235235

236236

237-
public static final String PATH_LOGOUT_USER = "/user/logout";
237+
String PATH_LOGOUT_USER = "/user/logout";
238238
/**
239239
* GET /user/logout : Logs out current logged in user session
240240
*
@@ -263,7 +263,7 @@ ResponseEntity<Void> logoutUser(
263263
);
264264

265265

266-
public static final String PATH_UPDATE_USER = "/user/{username}";
266+
String PATH_UPDATE_USER = "/user/{username}";
267267
/**
268268
* PUT /user/{username} : Updated user
269269
* This can only be done by the logged in user.

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
@Api(value = "pet", description = "Everything about your Pets")
3030
public interface PetApi {
3131

32-
public static final String PATH_ADD_PET = "/pet";
32+
String PATH_ADD_PET = "/pet";
3333
/**
3434
* POST /pet : Add a new pet to the store
3535
*
@@ -67,7 +67,7 @@ ResponseEntity<Pet> addPet(
6767
);
6868

6969

70-
public static final String PATH_DELETE_PET = "/pet/{petId}";
70+
String PATH_DELETE_PET = "/pet/{petId}";
7171
/**
7272
* DELETE /pet/{petId} : Deletes a pet
7373
*
@@ -102,7 +102,7 @@ ResponseEntity<Void> deletePet(
102102
);
103103

104104

105-
public static final String PATH_FIND_PETS_BY_STATUS = "/pet/findByStatus";
105+
String PATH_FIND_PETS_BY_STATUS = "/pet/findByStatus";
106106
/**
107107
* GET /pet/findByStatus : Finds Pets by status
108108
* Multiple status values can be provided with comma separated strings
@@ -139,7 +139,7 @@ ResponseEntity<List<Pet>> findPetsByStatus(
139139
);
140140

141141

142-
public static final String PATH_FIND_PETS_BY_TAGS = "/pet/findByTags";
142+
String PATH_FIND_PETS_BY_TAGS = "/pet/findByTags";
143143
/**
144144
* GET /pet/findByTags : Finds Pets by tags
145145
* Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
@@ -178,7 +178,7 @@ ResponseEntity<List<Pet>> findPetsByTags(
178178
);
179179

180180

181-
public static final String PATH_GET_PET_BY_ID = "/pet/{petId}";
181+
String PATH_GET_PET_BY_ID = "/pet/{petId}";
182182
/**
183183
* GET /pet/{petId} : Find pet by ID
184184
* Returns a single pet
@@ -214,7 +214,7 @@ ResponseEntity<Pet> getPetById(
214214
);
215215

216216

217-
public static final String PATH_UPDATE_PET = "/pet";
217+
String PATH_UPDATE_PET = "/pet";
218218
/**
219219
* PUT /pet : Update an existing pet
220220
*
@@ -258,7 +258,7 @@ ResponseEntity<Pet> updatePet(
258258
);
259259

260260

261-
public static final String PATH_UPDATE_PET_WITH_FORM = "/pet/{petId}";
261+
String PATH_UPDATE_PET_WITH_FORM = "/pet/{petId}";
262262
/**
263263
* POST /pet/{petId} : Updates a pet in the store with form data
264264
*
@@ -296,7 +296,7 @@ ResponseEntity<Void> updatePetWithForm(
296296
);
297297

298298

299-
public static final String PATH_UPLOAD_FILE = "/pet/{petId}/uploadImage";
299+
String PATH_UPLOAD_FILE = "/pet/{petId}/uploadImage";
300300
/**
301301
* POST /pet/{petId}/uploadImage : uploads an image
302302
*

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@Api(value = "store", description = "Access to Petstore orders")
2929
public interface StoreApi {
3030

31-
public static final String PATH_DELETE_ORDER = "/store/order/{orderId}";
31+
String PATH_DELETE_ORDER = "/store/order/{orderId}";
3232
/**
3333
* DELETE /store/order/{orderId} : Delete purchase order by ID
3434
* For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
@@ -57,7 +57,7 @@ ResponseEntity<Void> deleteOrder(
5757
);
5858

5959

60-
public static final String PATH_GET_INVENTORY = "/store/inventory";
60+
String PATH_GET_INVENTORY = "/store/inventory";
6161
/**
6262
* GET /store/inventory : Returns pet inventories by status
6363
* Returns a map of status codes to quantities
@@ -89,7 +89,7 @@ ResponseEntity<Map<String, Integer>> getInventory(
8989
);
9090

9191

92-
public static final String PATH_GET_ORDER_BY_ID = "/store/order/{orderId}";
92+
String PATH_GET_ORDER_BY_ID = "/store/order/{orderId}";
9393
/**
9494
* GET /store/order/{orderId} : Find purchase order by ID
9595
* For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generate exceptions
@@ -122,7 +122,7 @@ ResponseEntity<Order> getOrderById(
122122
);
123123

124124

125-
public static final String PATH_PLACE_ORDER = "/store/order";
125+
String PATH_PLACE_ORDER = "/store/order";
126126
/**
127127
* POST /store/order : Place an order for a pet
128128
*

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@Api(value = "user", description = "Operations about user")
2929
public interface UserApi {
3030

31-
public static final String PATH_CREATE_USER = "/user";
31+
String PATH_CREATE_USER = "/user";
3232
/**
3333
* POST /user : Create user
3434
* This can only be done by the logged in user.
@@ -59,7 +59,7 @@ ResponseEntity<Void> createUser(
5959
);
6060

6161

62-
public static final String PATH_CREATE_USERS_WITH_ARRAY_INPUT = "/user/createWithArray";
62+
String PATH_CREATE_USERS_WITH_ARRAY_INPUT = "/user/createWithArray";
6363
/**
6464
* POST /user/createWithArray : Creates list of users with given input array
6565
*
@@ -90,7 +90,7 @@ ResponseEntity<Void> createUsersWithArrayInput(
9090
);
9191

9292

93-
public static final String PATH_CREATE_USERS_WITH_LIST_INPUT = "/user/createWithList";
93+
String PATH_CREATE_USERS_WITH_LIST_INPUT = "/user/createWithList";
9494
/**
9595
* POST /user/createWithList : Creates list of users with given input array
9696
*
@@ -121,7 +121,7 @@ ResponseEntity<Void> createUsersWithListInput(
121121
);
122122

123123

124-
public static final String PATH_DELETE_USER = "/user/{username}";
124+
String PATH_DELETE_USER = "/user/{username}";
125125
/**
126126
* DELETE /user/{username} : Delete user
127127
* This can only be done by the logged in user.
@@ -153,7 +153,7 @@ ResponseEntity<Void> deleteUser(
153153
);
154154

155155

156-
public static final String PATH_GET_USER_BY_NAME = "/user/{username}";
156+
String PATH_GET_USER_BY_NAME = "/user/{username}";
157157
/**
158158
* GET /user/{username} : Get user by user name
159159
*
@@ -186,7 +186,7 @@ ResponseEntity<User> getUserByName(
186186
);
187187

188188

189-
public static final String PATH_LOGIN_USER = "/user/login";
189+
String PATH_LOGIN_USER = "/user/login";
190190
/**
191191
* GET /user/login : Logs user into the system
192192
*
@@ -219,7 +219,7 @@ ResponseEntity<String> loginUser(
219219
);
220220

221221

222-
public static final String PATH_LOGOUT_USER = "/user/logout";
222+
String PATH_LOGOUT_USER = "/user/logout";
223223
/**
224224
* GET /user/logout : Logs out current logged in user session
225225
*
@@ -248,7 +248,7 @@ ResponseEntity<Void> logoutUser(
248248
);
249249

250250

251-
public static final String PATH_UPDATE_USER = "/user/{username}";
251+
String PATH_UPDATE_USER = "/user/{username}";
252252
/**
253253
* PUT /user/{username} : Updated user
254254
* This can only be done by the logged in user.

0 commit comments

Comments
 (0)