Commit b672dfd
test: use actual int64 values for LongEnum test spec
Use 2147483648 (int32 max + 1) and 9223372036854775807 (int64 max) to
ensure the int64 branch is properly exercised with values that exceed
int32 range.
Co-authored-by: alexaka1 <22166651+alexaka1@users.noreply.github.com>1 parent 45f833b commit b672dfd
2 files changed
Lines changed: 8 additions & 6 deletions
File tree
- modules/openapi-generator/src/test
- java/org/openapitools/codegen/csharpnetcore
- resources/3_0/csharp
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
307 | 309 | | |
308 | 310 | | |
309 | 311 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments