nytimes/openapi2proto
A tool for generating Protobuf v3 schemas and gRPC service definitions from OpenAPI specifications observed · 2026-09-03
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3782
- days_rel: n/a
- days_push: 1200
- n_releases_24m: 0
Adoption not part of the score
1002 stars · 96 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go CLI tool that converts OpenAPI/Swagger specifications (YAML or JSON) into Protobuf v3 schemas and gRPC service definitions. It supports grpc-gateway annotations, external file inlining, and various generation options via CLI flags and spec extensions.
Use cases
- convert openapi spec to protobuf schema
- generate grpc service definitions from swagger
- generate proto v3 files from openapi yaml
- add grpc-gateway http annotations to generated protos
- migrate rest api definitions to grpc
- inline external openapi references into one proto file
When to choose
- you have an existing OpenAPI/Swagger spec and want to adopt gRPC
- you need grpc-gateway annotations generated automatically
- you want a deterministic, spec-driven proto generation pipeline
When to avoid
- you need gRPC-to-OpenAPI conversion (the reverse direction)
- your spec uses features openapi2proto does not support, like nested extensions
- you want a maintained tool with frequent releases
Facets
cli-tool · maturity maintenance
cli parser developer-tools rpc api-framework developer-tools apis backend cli go cross-platform openapi protobuf grpc code-generation swagger
1 source
- readme: https://github.com/nytimes/openapi2proto · fetched 2026-09-03 · 0ec937fdb4a7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nytimes/openapi2proto | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="nytimes/openapi2proto")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem