Commit cb80f83
authored
Use STJ's polymorphism support instead of custom converter (#70)
* Use STJ's polymorphism support instead of custom converter
Also:
- Mark properties as required if they're required in the schema
- Mark reference types as nullable if they're optional in the schema
- Remove the suppression of CS8618, which is resulting in public types having incorrect nullable annotations
- Annotate enums so the NativeAOT-unfriendly non-generic enum converter isn't needed
* Address feedback
* Fix enum attribution1 parent 5731c68 commit cb80f83
File tree
5 files changed
+315
-365
lines changed- dotnet/src
- Generated
- nodejs/scripts
5 files changed
+315
-365
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | | - | |
47 | | - | |
| 44 | + | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
724 | 722 | | |
725 | 723 | | |
726 | 724 | | |
| 725 | + | |
727 | 726 | | |
728 | 727 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
| 728 | + | |
733 | 729 | | |
734 | 730 | | |
735 | 731 | | |
| |||
0 commit comments