A code generation tool for openapi 3 / 3.1 specifications written in typescript, primarily aimed at generating typescript clients and server stubs. Other target languages may be added in future.
Where previously any truthy value would be accepted as true
Introduces the concept of a "static schema" to create a PermissiveBoolean schema to aid with generation. This is a little annoying to unit test as it introduces import statements that don't work in the test harness properly.
Booleans now must be one of:
true | "true" | 1
->true
false | "false" | 0
->false
Where previously any truthy value would be accepted as
true
Introduces the concept of a "static schema" to create a
PermissiveBoolean
schema to aid with generation. This is a little annoying to unit test as it introducesimport
statements that don't work in the test harness properly.