Commit f30eacb
fix: guard putAdditionalProperty in setter against models without additionalProperties
Generating the putAdditionalProperty call when additionalProperties is false
would cause a compile error because putAdditionalProperty is only generated
for models that have an additionalProperties schema.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7e893c3 commit f30eacb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
0 commit comments