Commit fec5b2f
fix(core): SchemaObjectBuilder.type(String) is null safe (#1507)
* fix(core): SchemaObjectBuilder.type(String) is null safe
Co-authored-by: Timon Back <[email protected]>
* test(core): Add `@Schema` annotation in combination with `@JsonSubTypes`
---------
Co-authored-by: Timon Back <[email protected]>1 parent e7fd6a0 commit fec5b2f
File tree
2 files changed
+5
-1
lines changed- springwolf-asyncapi/src/main/java/io/github/springwolf/asyncapi/v3/model/schema
- springwolf-core/src/test/java/io/github/springwolf/core/integrationtests/application/polymorphic
2 files changed
+5
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments