Skip to content

Commit 7687956

Browse files
committed
add new files
1 parent d77acf1 commit 7687956

File tree

24 files changed

+2029
-0
lines changed
  • samples
    • openapi3
      • client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model
      • server/petstore
        • springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model
        • springboot-delegate/src/main/java/org/openapitools/model
        • springboot-implicitHeaders/src/main/java/org/openapitools/model
        • springboot-reactive/src/main/java/org/openapitools/model
        • springboot-useoptional/src/main/java/org/openapitools/model
    • server/petstore
      • spring-mvc-j8-async/src/main/java/org/openapitools/model
      • spring-mvc-j8-localdatetime/src/main/java/org/openapitools/model
      • spring-mvc-no-nullable/src/main/java/org/openapitools/model
      • spring-mvc-spring-pageable/src/main/java/org/openapitools/model
      • spring-mvc/src/main/java/org/openapitools/model
      • springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model
      • springboot-beanvalidation/src/main/java/org/openapitools/model
      • springboot-delegate-j8/src/main/java/org/openapitools/model
      • springboot-delegate/src/main/java/org/openapitools/model
      • springboot-implicitHeaders/src/main/java/org/openapitools/model
      • springboot-reactive/src/main/java/org/openapitools/model
      • springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model
      • springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model
      • springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model
      • springboot-spring-pageable/src/main/java/org/openapitools/model
      • springboot-useoptional/src/main/java/org/openapitools/model
      • springboot-virtualan/src/main/java/org/openapitools/virtualan/model
      • springboot/src/main/java/org/openapitools/model

24 files changed

+2029
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
package org.openapitools.model;
2+
3+
import java.net.URI;
4+
import java.util.Objects;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import org.openapitools.jackson.nullable.JsonNullable;
8+
import java.time.OffsetDateTime;
9+
import javax.validation.Valid;
10+
import javax.validation.constraints.*;
11+
import io.swagger.v3.oas.annotations.media.Schema;
12+
13+
14+
import java.util.*;
15+
16+
/**
17+
* Must be named `File` for test.
18+
*/
19+
@Schema(name = "File",description = "Must be named `File` for test.")
20+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
21+
public class File {
22+
@JsonProperty("sourceURI")
23+
private String sourceURI;
24+
25+
public File sourceURI(String sourceURI) {
26+
this.sourceURI = sourceURI;
27+
return this;
28+
}
29+
30+
/**
31+
* Test capitalization
32+
* @return sourceURI
33+
*/
34+
@Schema(name = "sourceURI", defaultValue = "Test capitalization")
35+
36+
37+
public String getSourceURI() {
38+
return sourceURI;
39+
}
40+
41+
public void setSourceURI(String sourceURI) {
42+
this.sourceURI = sourceURI;
43+
}
44+
45+
46+
@Override
47+
public boolean equals(Object o) {
48+
if (this == o) {
49+
return true;
50+
}
51+
if (o == null || getClass() != o.getClass()) {
52+
return false;
53+
}
54+
File file = (File) o;
55+
return Objects.equals(this.sourceURI, file.sourceURI);
56+
}
57+
58+
@Override
59+
public int hashCode() {
60+
return Objects.hash(sourceURI);
61+
}
62+
63+
@Override
64+
public String toString() {
65+
StringBuilder sb = new StringBuilder();
66+
sb.append("class File {\n");
67+
68+
sb.append(" sourceURI: ").append(toIndentedString(sourceURI)).append("\n");
69+
sb.append("}");
70+
return sb.toString();
71+
}
72+
73+
/**
74+
* Convert the given object to string with each line indented by 4 spaces
75+
* (except the first line).
76+
*/
77+
private String toIndentedString(Object o) {
78+
if (o == null) {
79+
return "null";
80+
}
81+
return o.toString().replace("\n", "\n ");
82+
}
83+
}
84+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
package org.openapitools.model;
2+
3+
import java.net.URI;
4+
import java.util.Objects;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import javax.validation.Valid;
8+
import javax.validation.constraints.*;
9+
import io.swagger.v3.oas.annotations.media.Schema;
10+
11+
12+
import java.util.*;
13+
14+
/**
15+
* Must be named `File` for test.
16+
*/
17+
@Schema(name = "File",description = "Must be named `File` for test.")
18+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
19+
public class File {
20+
@JsonProperty("sourceURI")
21+
private String sourceURI;
22+
23+
public File sourceURI(String sourceURI) {
24+
this.sourceURI = sourceURI;
25+
return this;
26+
}
27+
28+
/**
29+
* Test capitalization
30+
* @return sourceURI
31+
*/
32+
@Schema(name = "sourceURI", defaultValue = "Test capitalization")
33+
34+
35+
public String getSourceURI() {
36+
return sourceURI;
37+
}
38+
39+
public void setSourceURI(String sourceURI) {
40+
this.sourceURI = sourceURI;
41+
}
42+
43+
44+
@Override
45+
public boolean equals(Object o) {
46+
if (this == o) {
47+
return true;
48+
}
49+
if (o == null || getClass() != o.getClass()) {
50+
return false;
51+
}
52+
File file = (File) o;
53+
return Objects.equals(this.sourceURI, file.sourceURI);
54+
}
55+
56+
@Override
57+
public int hashCode() {
58+
return Objects.hash(sourceURI);
59+
}
60+
61+
@Override
62+
public String toString() {
63+
StringBuilder sb = new StringBuilder();
64+
sb.append("class File {\n");
65+
66+
sb.append(" sourceURI: ").append(toIndentedString(sourceURI)).append("\n");
67+
sb.append("}");
68+
return sb.toString();
69+
}
70+
71+
/**
72+
* Convert the given object to string with each line indented by 4 spaces
73+
* (except the first line).
74+
*/
75+
private String toIndentedString(Object o) {
76+
if (o == null) {
77+
return "null";
78+
}
79+
return o.toString().replace("\n", "\n ");
80+
}
81+
}
82+
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
package org.openapitools.model;
2+
3+
import java.net.URI;
4+
import java.util.Objects;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import org.openapitools.jackson.nullable.JsonNullable;
8+
import java.time.OffsetDateTime;
9+
import javax.validation.Valid;
10+
import javax.validation.constraints.*;
11+
import io.swagger.v3.oas.annotations.media.Schema;
12+
13+
14+
import java.util.*;
15+
16+
/**
17+
* Must be named `File` for test.
18+
*/
19+
@Schema(name = "File",description = "Must be named `File` for test.")
20+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
21+
public class File {
22+
@JsonProperty("sourceURI")
23+
private String sourceURI;
24+
25+
public File sourceURI(String sourceURI) {
26+
this.sourceURI = sourceURI;
27+
return this;
28+
}
29+
30+
/**
31+
* Test capitalization
32+
* @return sourceURI
33+
*/
34+
@Schema(name = "sourceURI", defaultValue = "Test capitalization")
35+
36+
37+
public String getSourceURI() {
38+
return sourceURI;
39+
}
40+
41+
public void setSourceURI(String sourceURI) {
42+
this.sourceURI = sourceURI;
43+
}
44+
45+
46+
@Override
47+
public boolean equals(Object o) {
48+
if (this == o) {
49+
return true;
50+
}
51+
if (o == null || getClass() != o.getClass()) {
52+
return false;
53+
}
54+
File file = (File) o;
55+
return Objects.equals(this.sourceURI, file.sourceURI);
56+
}
57+
58+
@Override
59+
public int hashCode() {
60+
return Objects.hash(sourceURI);
61+
}
62+
63+
@Override
64+
public String toString() {
65+
StringBuilder sb = new StringBuilder();
66+
sb.append("class File {\n");
67+
68+
sb.append(" sourceURI: ").append(toIndentedString(sourceURI)).append("\n");
69+
sb.append("}");
70+
return sb.toString();
71+
}
72+
73+
/**
74+
* Convert the given object to string with each line indented by 4 spaces
75+
* (except the first line).
76+
*/
77+
private String toIndentedString(Object o) {
78+
if (o == null) {
79+
return "null";
80+
}
81+
return o.toString().replace("\n", "\n ");
82+
}
83+
}
84+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
package org.openapitools.model;
2+
3+
import java.net.URI;
4+
import java.util.Objects;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import org.openapitools.jackson.nullable.JsonNullable;
8+
import java.time.OffsetDateTime;
9+
import javax.validation.Valid;
10+
import javax.validation.constraints.*;
11+
import io.swagger.v3.oas.annotations.media.Schema;
12+
13+
14+
import java.util.*;
15+
16+
/**
17+
* Must be named `File` for test.
18+
*/
19+
@Schema(name = "File",description = "Must be named `File` for test.")
20+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
21+
public class File {
22+
@JsonProperty("sourceURI")
23+
private String sourceURI;
24+
25+
public File sourceURI(String sourceURI) {
26+
this.sourceURI = sourceURI;
27+
return this;
28+
}
29+
30+
/**
31+
* Test capitalization
32+
* @return sourceURI
33+
*/
34+
@Schema(name = "sourceURI", defaultValue = "Test capitalization")
35+
36+
37+
public String getSourceURI() {
38+
return sourceURI;
39+
}
40+
41+
public void setSourceURI(String sourceURI) {
42+
this.sourceURI = sourceURI;
43+
}
44+
45+
46+
@Override
47+
public boolean equals(Object o) {
48+
if (this == o) {
49+
return true;
50+
}
51+
if (o == null || getClass() != o.getClass()) {
52+
return false;
53+
}
54+
File file = (File) o;
55+
return Objects.equals(this.sourceURI, file.sourceURI);
56+
}
57+
58+
@Override
59+
public int hashCode() {
60+
return Objects.hash(sourceURI);
61+
}
62+
63+
@Override
64+
public String toString() {
65+
StringBuilder sb = new StringBuilder();
66+
sb.append("class File {\n");
67+
68+
sb.append(" sourceURI: ").append(toIndentedString(sourceURI)).append("\n");
69+
sb.append("}");
70+
return sb.toString();
71+
}
72+
73+
/**
74+
* Convert the given object to string with each line indented by 4 spaces
75+
* (except the first line).
76+
*/
77+
private String toIndentedString(Object o) {
78+
if (o == null) {
79+
return "null";
80+
}
81+
return o.toString().replace("\n", "\n ");
82+
}
83+
}
84+

0 commit comments

Comments
 (0)