Commit c619fbe
committed
Use blueprint isOptional/isNullable for model property nullability
The blueprint now exposes `isOptional` and `isNullable` on properties. Map
them to the two orthogonal C# concepts instead of emitting every model
property as optional+nullable:
- DataMember IsRequired = !isOptional (payload presence)
- C# nullable annotation = isNullable (value may be null)
Endpoint parameters are unchanged (they carry isRequired). Bump
@seamapi/blueprint to ^0.60.0. The generated output is regenerated and
formatted by the Generate CI workflow.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ThCbfBhJb4Hydvo8Es4qJA1 parent 3c3691c commit c619fbe
3 files changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments