Closed slifty closed 9 months ago
swagger-codegen has a few TypeScript templates already (search the linked page for "typescript" to find them). I also asked on their Discussion board about their preferences for upstream contributions.
While we wait I'll start off by creating the templates in here.
As part of #1 we know that we at least want to support the generation of Typescript type definitions and type guards based on the swagger specification. This will allow us to at least avoid having to define types / type guards in places like the [
front-end
repository]().I'm going to work on this without trying to think about whether the generated type definitions would be appropriate into the backend implementation as well.