qmetrics.net

TypeSpec

Language for defining cloud service APIs and shapes

TypeSpec screenshot

TypeSpec lets teams describe REST, OpenAPI, gRPC, JSON Schema, and Protobuf APIs in one place and emit specs, code, and docs.

Overview

TypeSpec is a language and toolchain for describing APIs and related data models as a single source of truth. It is designed to be extended with libraries and emitters so one definition can produce OpenAPI documents, JSON Schema, Protobuf, client code, server stubs, and documentation.

The syntax is inspired by TypeScript and stays minimal while supporting REST patterns through HTTP libraries, validation through linters, and packaging of reusable API patterns. Microsoft built the core project with community contributions, and emitters control how output is shaped for each ecosystem.

Day-to-day use involves writing `.tsp` files, installing packages such as HTTP, REST, and OpenAPI emitters, and running the compiler to emit artifacts into an output folder. A VS Code extension is available from the marketplace or via command-line installation for editor integration.

TypeSpec emphasizes guardrails for API designers, including linter rules for anti-patterns and shared pattern libraries so teams align on conventions before code is generated.

Key features

  • Multi-protocol API definitions
  • OpenAPI 3 emission
  • JSON Schema 2020-12 emission
  • Protobuf generation
  • Reusable pattern libraries
  • Linter framework for APIs
  • VS Code extension
  • Emitter plugin architecture

Use cases

  • Generating OpenAPI from one TypeSpec model
  • Standardizing REST services across teams
  • Producing JSON Schema for validation pipelines
  • Emitting Protobuf for gRPC services
  • Sharing API design libraries internally

Tags

Similar software

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

  • REST and HTTP method support
  • GraphQL, WebSocket, and MQTT clients
  • Collections with nested folders
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

  • REST routes from JSON files
  • JSON5 database support
  • Rich query operators
JavaScriptCLIDetails →
★ 75.7k⟳ 6 days agoMIT

Bruno

Git-native local API client for REST and GraphQL

Bruno is an API client for exploring and testing REST, GraphQL, gRPC, and WebSocket APIs. Collections live as folders on disk in OpenCollection YAML with no cloud sync.

  • Filesystem-based OpenCollection YAML collections
  • REST, GraphQL, gRPC, and WebSocket support
  • Git-friendly plain-text workflow
JavaScriptLinux, macOS, Windows, DockerDetails →
★ 48.7k⟳ yesterdayMIT
Open Source Alternative to:Postman

mitmproxy

Interactive TLS-aware HTTP and WebSocket intercepting proxy

mitmproxy sits between clients and servers to inspect, modify, and replay HTTP/1, HTTP/2, HTTP/3, and WebSocket traffic. It ships console, CLI, and web front ends.

  • TLS interception for HTTP and WebSockets
  • Interactive console interface
  • mitmdump CLI capture and scripting
PythonWeb, Linux, macOS, WindowsDetails →
★ 47.3k⟳ todayMIT

Kong Gateway

Cloud-native API, LLM, and MCP gateway with plugins

Kong Gateway centralizes proxying, routing, load balancing, and authentication for microservice APIs and AI traffic. It extends behavior through a plugin system and optional AI gateway features.

  • Advanced routing and load balancing
  • JWT, OAuth, and ACL authentication
  • Multi-provider LLM API routing
LuaLinux, DockerDetails →
★ 44.4k⟳ 12 days agoApache-2.0
Open Source Alternative to:ApigeeOpenResty Edge

IT Tools

Web collection of handy developer and IT utilities

IT Tools bundles many browser-based converters, encoders, and calculators for developers and IT staff, organized by category with a unified interface.

  • Broad catalog of developer utilities
  • Crypto and hashing tools
  • JSON, YAML, XML, and TOML converters
VueWeb, DockerDetails →
★ 41.4k⟳ yesterdayGPL-3.0