Skip to content

Commit 3564390

Browse files
committed
following recommendation of deleting outdated generators
1 parent 22eae07 commit 3564390

File tree

3,543 files changed

+20246
-60760
lines changed

Some content is hidden

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

3,543 files changed

+20246
-60760
lines changed

android/.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0
1+
7.7.0-SNAPSHOT

android/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Add this dependency to your project's POM:
2828
<dependency>
2929
<groupId>com.spoonacular</groupId>
3030
<artifactId>android-client</artifactId>
31-
<version>1.1.1</version>
31+
<version>1.1.2</version>
3232
<scope>compile</scope>
3333
</dependency>
3434
```
@@ -38,7 +38,7 @@ Add this dependency to your project's POM:
3838
Add this dependency to your project's build file:
3939

4040
```groovy
41-
compile "com.spoonacular:android-client:1.1.1"
41+
compile "com.spoonacular:android-client:1.1.2"
4242
```
4343

4444
### Others
@@ -49,7 +49,7 @@ At first generate the JAR by executing:
4949

5050
Then manually install the following JARs:
5151

52-
- target/android-client-1.1.1.jar
52+
- target/android-client-1.1.2.jar
5353
- target/lib/*.jar
5454

5555
## Getting Started

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group = 'com.spoonacular'
2-
project.version = '1.1.1'
2+
project.version = '1.1.2'
33

44
buildscript {
55
repositories {

android/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.spoonacular</groupId>
66
<artifactId>android-client</artifactId>
7-
<version>1.1.1</version>
7+
<version>1.1.2</version>
88
<dependencies>
99
<dependency>
1010
<groupId>io.swagger</groupId>

android/src/main/java/com/spoonacular/client/ApiInvoker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public static void initializeInstance(Cache cache) {
199199

200200
public static void initializeInstance(Cache cache, Network network, int threadPoolSize, ResponseDelivery delivery, int connectionTimeout) {
201201
INSTANCE = new ApiInvoker(cache, network, threadPoolSize, delivery, connectionTimeout);
202-
setUserAgent("OpenAPI-Generator/1.1.1/android");
202+
setUserAgent("OpenAPI-Generator/1.1.2/android");
203203

204204
// Setup authentications (key: authentication name, value: authentication).
205205
INSTANCE.authentications = new HashMap<String, Authentication>();

angular/.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.3.0
1+
7.7.0-SNAPSHOT

angular/api/default.service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ export class DefaultService {
4444
this.configuration = configuration;
4545
}
4646
if (typeof this.configuration.basePath !== 'string') {
47-
if (Array.isArray(basePath) && basePath.length > 0) {
48-
basePath = basePath[0];
47+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
48+
if (firstBasePath != undefined) {
49+
basePath = firstBasePath;
4950
}
5051

5152
if (typeof basePath !== 'string') {

angular/api/ingredients.service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ export class IngredientsService {
5454
this.configuration = configuration;
5555
}
5656
if (typeof this.configuration.basePath !== 'string') {
57-
if (Array.isArray(basePath) && basePath.length > 0) {
58-
basePath = basePath[0];
57+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
58+
if (firstBasePath != undefined) {
59+
basePath = firstBasePath;
5960
}
6061

6162
if (typeof basePath !== 'string') {

angular/api/mealPlanning.service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ export class MealPlanningService {
6262
this.configuration = configuration;
6363
}
6464
if (typeof this.configuration.basePath !== 'string') {
65-
if (Array.isArray(basePath) && basePath.length > 0) {
66-
basePath = basePath[0];
65+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
66+
if (firstBasePath != undefined) {
67+
basePath = firstBasePath;
6768
}
6869

6970
if (typeof basePath !== 'string') {

angular/api/menuItems.service.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ export class MenuItemsService {
4646
this.configuration = configuration;
4747
}
4848
if (typeof this.configuration.basePath !== 'string') {
49-
if (Array.isArray(basePath) && basePath.length > 0) {
50-
basePath = basePath[0];
49+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
50+
if (firstBasePath != undefined) {
51+
basePath = firstBasePath;
5152
}
5253

5354
if (typeof basePath !== 'string') {

0 commit comments

Comments
 (0)