Commit d1c3c9e
committed
fix: preserve deprecated, readOnly, writeOnly when normalizing OAS 3.1 array schemas
The OpenAPINormalizer.processNormalize31Spec method converts OAS 3.1
JsonSchema array types into legacy ArraySchema objects, but was not
copying the deprecated, readOnly, or writeOnly flags during conversion.
This caused @deprecated annotations to be silently dropped for array-type
properties in all generators when processing OAS 3.1 specs.1 parent 1aec291 commit d1c3c9e
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1839 | 1839 | | |
1840 | 1840 | | |
1841 | 1841 | | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
1842 | 1845 | | |
1843 | 1846 | | |
1844 | 1847 | | |
| |||
0 commit comments