orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
Fixed a syntax error that occurred when using ref in an item referenced by allOf.
The reference with ref is not necessarily an object, but there are few cases where allOf refers to an item other than an object, so this covers many cases.
Status
READY/WIP/HOLD
Description
fix #1119
Fixed a syntax error that occurred when using
ref
in an item referenced byallOf
. The reference withref
is not necessarily an object, but there are few cases whereallOf
refers to an item other than an object, so this covers many cases.Before
ref
objects will cause an syntax error.After
ref
objects are expanded so no error occurs.Related PRs
none
Todos
Steps to Test or Reproduce
i added test case