Commit 7516792
committed
fix: Allow null for Region.main_generation in serializer
Some regions (e.g. Hisui) have no main_generation, so the API returns
null for this field. Adding allow_null=True to the serializer field
so the generated OpenAPI spec correctly marks it as nullable.
Fixes #13971 parent 24b8ee9 commit 7516792
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8607 | 8607 | | |
8608 | 8608 | | |
8609 | 8609 | | |
8610 | | - | |
8611 | 8610 | | |
8612 | 8611 | | |
8613 | 8612 | | |
| |||
8639 | 8638 | | |
8640 | 8639 | | |
8641 | 8640 | | |
| 8641 | + | |
8642 | 8642 | | |
8643 | 8643 | | |
8644 | 8644 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| |||
0 commit comments