A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥
1.87k
stars
109
forks
source link
Fix: empty required should not generate invalid types. #374
Closed
micha-f closed 2 years ago
Why
https://github.com/contiamo/restful-react/pull/364 introduced an issue with empty
required
lists: invalid types are generated in that case, e.g.Require<Foo & Bar, >
.