Skip to content

Commit 0cf36b1

Browse files
committed
expecting an all of model class
1 parent 98b1ed7 commit 0cf36b1

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

openapi-processor-core/src/testInt/resources/tests/schema-composed/generated.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ items:
33
- generated/model/One.java
44
- generated/model/Two.java
55
- generated/model/Three.java
6+
- generated/model/FooAllOf.java
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-core.
3+
* TEST ONLY.
4+
*/
5+
6+
package generated.model;
7+
8+
import com.fasterxml.jackson.annotation.JsonProperty;
9+
10+
public class FooAllOf {
11+
12+
@JsonProperty("one")
13+
private String one;
14+
15+
@JsonProperty("two")
16+
private String two;
17+
18+
@JsonProperty("three")
19+
private String three;
20+
21+
public String getOne() {
22+
return one;
23+
}
24+
25+
public void setOne(String one) {
26+
this.one = one;
27+
}
28+
29+
public String getTwo() {
30+
return two;
31+
}
32+
33+
public void setTwo(String two) {
34+
this.two = two;
35+
}
36+
37+
public String getThree() {
38+
return three;
39+
}
40+
41+
public void setThree(String three) {
42+
this.three = three;
43+
}
44+
45+
}

0 commit comments

Comments
 (0)