TypeScript Interface generator tools?

This page summarizes the projects mentioned and recommended in the original post on /r/Angular2

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ASP.NET Core

    ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

  • 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.

  • 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. 🍺

  • If your asp.net project has a good documentation on its endpoint, you can actually generate models, services, tests, ... With something like Orval

  • 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.

    WorkOS logo
  • NSwag

    The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

  • Try this here https://github.com/RicoSuter/NSwag/wiki/Templates

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts