Commit dc28099
Fix: Generate transformers for allOf response schemas
The transformer plugin was incorrectly skipping response schemas with allOf compositions. The check for multiple response items was conflating:
1. Multiple 2XX status codes (union with logicalOperator: 'or')
2. AllOf compositions (intersection with logicalOperator: 'and')
Fix: Only skip transformer generation when there are multiple response status codes (logicalOperator !== 'and'), not when there's an allOf/intersection composition.
Co-authored-by: mrlubos <12529395+mrlubos@users.noreply.github.com>1 parent 0e24571 commit dc28099
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
0 commit comments