Our great sponsors
-
ASP.NET Core
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
-
orval
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. 🍺
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I have a large project to convert to Angular from asp.net. And in that there are going to be hundreds of api endpoints. I am getting real tired of typing in types, so to speak. I was just searching the web and found a few cli type of tools on npm which will analyze a json snippet/sample and infer a TS interface.
If your asp.net project has a good documentation on its endpoint, you can actually generate models, services, tests, ... With something like Orval
Try this here https://github.com/RicoSuter/NSwag/wiki/Templates