OpenAPI Specification
The most recommended of 4 API description languages
Widely used standard for describing REST APIs, letting tools generate code, docs and validation. Caveat: specs often go stale and tooling lags on newer versions.
Widely used standard for describing REST APIs, letting tools generate code, docs and validation. Caveat: specs often go stale and tooling lags on newer versions.
52 people gave an opinion
- recommend it
- 30
- criticize it
- 22
- approval share
- 58%
Recommended in 10 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: not recommended
- June 2026: recommended
- July 2026: not recommended
- August 2026: recommended
- September 2026: recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it doesn’t carry the badge
- 30 people recommend itNeeds 10 or more, met.
- 1.3 recommenders for every criticNeeds 2 to 1 or better, not met.
- Recommended in 10 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Turns specs into LLM tool calls
“A good OpenAPI spec was working perfectly fine for me all the way back when OpenAI introduced GPTs.”
Comment from 5 Mar 2026 in “Googleworkspace/CLI” “just adding some semi-standard attributes to OpenAPI specs to make them more LLM consumable”
Comment from 30 Sep 2026 in “You said no MCP” “OpenAPI 3.0 has auth. You can turn OpenAPI specs into tool calls just as well”
Comment from 5 Aug 2026 in “Stateless MCP has recaptured my interest” - Comment from 21 Sep 2026 in “MCP was always a bad idea?”
Generates typed clients and SDKs
“developing against a spec, like OpenAPI, and using/building an auto-generated SDK is still very useful for coding agents”
Comment from 30 Mar 2026 in “Coding Agents Could Make Free Software Matter Again” “But you know what also gives you auto-generated code that works perfectly without a hitch, with full schema validation?”
Comment from 24 Jan 2026 in “The Lost Art of XML” “I really like OpenAPI in conjunction with openapi-fetch to create a typed interface”
Comment from 28 Apr 2026 in “In 76% of modern OpenAPI specs, JSON Schema dominates the specification” - Comment from 19 Feb 2026 in “Farewell Rust”
Self-documenting API description
“having a document describing how your API works, including types, that is important”
Comment from 25 Nov 2025 in “Claude Advanced Tool Use” “Pair it with OpenAPI and the whole thing is self-documenting.”
Comment from 5 Aug 2026 in “Stateless MCP has recaptured my interest” “It addresses all the key description and security details.”
Comment from 21 Sep 2026 in “MCP was always a bad idea?” Broad tool and language support
“OpenAPI is great, there are a lot of tools to go from OpenAPI to UI, but you don't have a lot of control over the presentation.”
Comment from 24 Jan 2026 in “JSON-render: LLM-based JSON-to-UI tool” “OpenAPI supports a lot of languages, not just 2.”
Comment from 19 Nov 2025 in “Show HN: Guts – convert Golang types to TypeScript”
What people warn about
Each mark is one comment
Specs often outdated or incomplete
“the issue we face is that REST API specs for many products are either missing, incomplete or simply outdated”
Comment from 14 Dec 2025 in “GraphQL: The enterprise honeymoon is over” “Specs drift from reality, documentation lies, and you're trusting convention”
Comment from 15 Dec 2025 in “GraphQL: The enterprise honeymoon is over” “Most existing OpenAPI specs out there don't clear that bar”
Comment from 10 Dec 2025 in “Donating the Model Context Protocol and establishing the Agentic AI Foundation” Tooling lags on newer versions
“Many users are stuck at 3.0 or even Swagger 2.0 because the libraries they use refuse to support recent versions”
Comment from 28 Nov 2025 in “JSON Schema Demystified: Dialects, Vocabularies and Metaschemas” “open-api 3.1 is still not viable, and isn't looking like it will be anytime soon.”
Comment from 29 Nov 2025 in “JSON Schema Demystified: Dialects, Vocabularies and Metaschemas” “OpenAPI is really outdated and the tooling is always a mess.”
Comment from 20 Feb 2026 in “Farewell Rust” Seen as a mediocre solution
“using something like OpenAPI to share the schema is a subpar solution”
Comment from 12 Mar 2026 in “Returning to Rails in 2026” “OpenAPI (which I've used and it's a mediocre solution)”
Comment from 14 Nov 2025 in “.NET 10”
Other API description languages people recommend
The three most recommended other API description languages, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
See all 4 API description languages, rankedWhat people said
40 of the 57 comments that mention it, newest first. Each links to the original comment.
“OpenAPI can't do that, and OpenAPI also needs a codegen step”
“just adding some semi-standard attributes to OpenAPI specs to make them more LLM consumable”
“validates everything against an OAS so the agent can't make invalid requests”
“It addresses all the key description and security details.”
“another one on the OpenAPI schema”
“OpenAPI 3.0 has auth. You can turn OpenAPI specs into tool calls just as well”
“Pair it with OpenAPI and the whole thing is self-documenting.”
“I really like OpenAPI in conjunction with openapi-fetch to create a typed interface”
“Today, there's tooling around OpenAPI/Swagger, but I don't think it's nearly as nice as using WCF”
“developing against a spec, like OpenAPI, and using/building an auto-generated SDK is still very useful for coding agents”
“using something like OpenAPI to share the schema is a subpar solution”
“A good OpenAPI spec was working perfectly fine for me all the way back when OpenAI introduced GPTs.”
“Swagger / OpenAPI just aren't detailed enough to use without other documentation.”
“OpenAPI is really outdated and the tooling is always a mess.”
“with OpenAPI for shared types”
“Why not just extend the OpenAPI specification to skills?”
“Swagger and OpenAPI were attempts to solve problems that only exist because we didn't stick with REST”
“OpenAPI, JsonSchema, GraphQL all describe *Data*.”
“OpenAPI is great, there are a lot of tools to go from OpenAPI to UI, but you don't have a lot of control over the presentation.”
“But you know what also gives you auto-generated code that works perfectly without a hitch, with full schema validation?”
“Except everyone who ever used standards like OpenAPI and JSON Schema.”
“OpenAPI specs really don't have that much overhead (especially if you make use of YAML anchors)”
“That is very viable these days, just isn't a "default" in the ecosystem.”
“OpenAPI, Thrift and protobuf/gRPC are all far better schema languages.”
“Specs drift from reality, documentation lies, and you're trusting convention”
“I write all of my openapi specs by hand. It's not hard.”
“the issue we face is that REST API specs for many products are either missing, incomplete or simply outdated”
“Post-honeymoon, I returned to REST+Open API”
“The whole spec would consume a huge fraction of context tokens.”
“Yes, and it's called OpenAPI.”
“Most existing OpenAPI specs out there don't clear that bar”
“open-api 3.1 is still not viable, and isn't looking like it will be anytime soon.”
“Many users are stuck at 3.0 or even Swagger 2.0 because the libraries they use refuse to support recent versions”
“OpenAPI 3.1 replaced the not-a-superset-or-subset of JSON Schema with the actual JSON Schema”
“having a document describing how your API works, including types, that is important”
“OpenAPI is another good choice”
“OpenAPI is also a good choice nowadays.”
“OpenAPI v3 would be a much better fit”
“OpenAPI supports a lot of languages, not just 2.”
“OpenAPI (which I've used and it's a mediocre solution)”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.