Skip to content

Commit c07ad0c

Browse files
committed
Reduce git diff
1 parent 5a79e2e commit c07ad0c

File tree

304 files changed

+71272
-88575
lines changed

Some content is hidden

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

304 files changed

+71272
-88575
lines changed

src/main/java/com/github/freeclimbapi/AbstractOpenApiSchema.java

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,12 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
1413
package com.github.freeclimbapi;
1514

16-
import com.github.freeclimbapi.ApiException;
17-
import java.util.Objects;
18-
import java.lang.reflect.Type;
1915
import java.util.Map;
16+
import java.util.Objects;
2017

21-
/**
22-
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
23-
*/
18+
/** Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */
2419
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
2520
public abstract class AbstractOpenApiSchema {
2621

@@ -50,18 +45,23 @@ public AbstractOpenApiSchema(String schemaType, Boolean isNullable) {
5045
*
5146
* @return an instance of the actual schema/object
5247
*/
53-
//@JsonValue
54-
public Object getActualInstance() {return instance;}
48+
// @JsonValue
49+
public Object getActualInstance() {
50+
return instance;
51+
}
5552

5653
/**
5754
* Set the actual instance
5855
*
5956
* @param instance the actual instance of the schema/object
6057
*/
61-
public void setActualInstance(Object instance) {this.instance = instance;}
58+
public void setActualInstance(Object instance) {
59+
this.instance = instance;
60+
}
6261

6362
/**
64-
* Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf schema as well
63+
* Get the instant recursively when the schemas defined in oneOf/anyof happen to be oneOf/anyOf
64+
* schema as well
6565
*
6666
* @return an instance of the actual schema/object
6767
*/
@@ -73,7 +73,7 @@ private Object getActualInstanceRecursively(AbstractOpenApiSchema object) {
7373
if (object.getActualInstance() == null) {
7474
return null;
7575
} else if (object.getActualInstance() instanceof AbstractOpenApiSchema) {
76-
return getActualInstanceRecursively((AbstractOpenApiSchema)object.getActualInstance());
76+
return getActualInstanceRecursively((AbstractOpenApiSchema) object.getActualInstance());
7777
} else {
7878
return object.getActualInstance();
7979
}
@@ -100,8 +100,8 @@ public String toString() {
100100
}
101101

102102
/**
103-
* Convert the given object to string with each line indented by 4 spaces
104-
* (except the first line).
103+
* Convert the given object to string with each line indented by 4 spaces (except the first
104+
* line).
105105
*/
106106
private String toIndentedString(Object o) {
107107
if (o == null) {
@@ -118,9 +118,9 @@ public boolean equals(Object o) {
118118
return false;
119119
}
120120
AbstractOpenApiSchema a = (AbstractOpenApiSchema) o;
121-
return Objects.equals(this.instance, a.instance) &&
122-
Objects.equals(this.isNullable, a.isNullable) &&
123-
Objects.equals(this.schemaType, a.schemaType);
121+
return Objects.equals(this.instance, a.instance)
122+
&& Objects.equals(this.isNullable, a.isNullable)
123+
&& Objects.equals(this.schemaType, a.schemaType);
124124
}
125125

126126
@Override
@@ -140,7 +140,4 @@ public Boolean isNullable() {
140140
return Boolean.FALSE;
141141
}
142142
}
143-
144-
145-
146143
}

src/main/java/com/github/freeclimbapi/ApiCallback.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
* Do not edit the class manually.
1111
*/
1212

13-
1413
package com.github.freeclimbapi;
1514

16-
import java.io.IOException;
17-
18-
import java.util.Map;
1915
import java.util.List;
16+
import java.util.Map;
2017

2118
/**
2219
* Callback for asynchronous API call.

0 commit comments

Comments
 (0)