Skip to content
SPECIFICTION
Get listed

Swagger Codegen vs ts-proto

Swagger Codegen

swagger.io

ts-proto

github.com

Side by side

FigureSwagger Codegents-proto
Price fromFreeFree
Free planYesYes
Free trial——
Open sourceYes—
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYesYes
Self-hostedYes—
Plans published21
Spec score · Code Generators8.3 (#9)7.9 (#18)
LicenseThe Homebrew formula identifies Swagger Codegen as Apache-2.0 licensed.The repository is published under the Apache-2.0 license.
PurposeSwagger Codegen generates API client libraries, server stubs, and documentation from OpenAPI specifications.ts-proto transforms .proto files into strongly typed, idiomatic TypeScript files.

Plans

Swagger Codegen

  • Open-source Swagger CodegenFree
  • Swagger CodegenFree

Swagger Codegen pricing →

ts-proto

  • ts-protoFree

ts-proto pricing →

In their own words

Swagger Codegen

Swagger Codegen is an open-source tool that generates API client libraries, server stubs and documentation from OpenAPI specifications. Its template-driven engine parses OpenAPI or Swagger definitions and produces project code from schemas. Swagger states that it can generate client SDKs in over 40 languages and server boilerplate in over 20. Listed capabilities include OpenAPI import, schema-to-code generation, project scaffolding, custom templates, an interactive API reference, code samples and a command-line interface. Outputs and integrations include HTML and Confluence Wiki documentation, Apache2 configuration files and JMeter. The project is available from GitHub under the Apache-2.0 license, with a hosted option through SwaggerHub. SwaggerHub can generate code in a selected language and push it to source-control repositories. Supported client targets include C#, Dart, Go, Java, JavaScript, Kotlin, PHP, Python, R, Ruby, Scala, Swift and TypeScript variants. Server targets include ASP.NET Core, Go, Java Vert.x and JAX-RS options. The repository warns that untrusted descriptions may cause code injection.

Visit swagger.io

ts-proto

ts-proto has no write-up on Specifiction yet; its figures are above.

Visit github.com