We are using https://openapi-ts.pages.dev/ to generate client code and there are optional types in Tripletex's swagger schema which I believe could have been marked as required. Example Employee and it's id:
This results in generated code where id is optional:
I'm guessing this may have to do something with type being used in multiple contexts, like when you POST a new employee? But it would have been nice to have accurate types for different operations :)
We are using https://openapi-ts.pages.dev/ to generate client code and there are optional types in Tripletex's swagger schema which I believe could have been marked as required. Example
Employee
and it'sid
:This results in generated code where id is optional:
I'm guessing this may have to do something with type being used in multiple contexts, like when you
POST
a new employee? But it would have been nice to have accurate types for different operations :)