Hacker ApprovedDepartments

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%
Each figure is one person. RecommendsCriticizes

Recommended in 10 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. 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”
  • 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”
  • 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.

OpenAPI Specification compared with 3 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
OpenAPI SpecificationThis page302258%10——
TypeSpec110100%5—Approved
Skir7944%1——
Swagger6555%4——
See all 4 API description languages, ranked

What 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”

MixedComment from 2 Oct 2026 in “SvelteKit 3”

“just adding some semi-standard attributes to OpenAPI specs to make them more LLM consumable”

RecommendsComment from 30 Sep 2026 in “You said no MCP”

“validates everything against an OAS so the agent can't make invalid requests”

MixedComment from 21 Sep 2026 in “MCP was always a bad idea?”

“It addresses all the key description and security details.”

RecommendsComment from 21 Sep 2026 in “MCP was always a bad idea?”

“another one on the OpenAPI schema”

MixedComment from 18 Sep 2026 in “Rate limits on GitLab.com are changing”

“OpenAPI 3.0 has auth. You can turn OpenAPI specs into tool calls just as well”

MixedComment from 5 Aug 2026 in “Stateless MCP has recaptured my interest”

“Pair it with OpenAPI and the whole thing is self-documenting.”

RecommendsComment from 5 Aug 2026 in “Stateless MCP has recaptured my interest”

“I really like OpenAPI in conjunction with openapi-fetch to create a typed interface”

RecommendsComment from 28 Apr 2026 in “In 76% of modern OpenAPI specs, JSON Schema dominates the specification”

“Today, there's tooling around OpenAPI/Swagger, but I don't think it's nearly as nice as using WCF”

CriticizesComment from 13 Apr 2026 in “High-Level Rust: Getting 80% of the Benefits with 20% of the Pain”

“developing against a spec, like OpenAPI, and using/building an auto-generated SDK is still very useful for coding agents”

RecommendsComment from 30 Mar 2026 in “Coding Agents Could Make Free Software Matter Again”

“using something like OpenAPI to share the schema is a subpar solution”

CriticizesComment from 12 Mar 2026 in “Returning to Rails in 2026”

“A good OpenAPI spec was working perfectly fine for me all the way back when OpenAI introduced GPTs.”

RecommendsComment from 5 Mar 2026 in “Googleworkspace/CLI”

“Swagger / OpenAPI just aren't detailed enough to use without other documentation.”

CriticizesComment from 1 Mar 2026 in “MCP is dead. Long live the CLI”

“OpenAPI is really outdated and the tooling is always a mess.”

CriticizesComment from 20 Feb 2026 in “Farewell Rust”

“with OpenAPI for shared types”

RecommendsComment from 19 Feb 2026 in “Farewell Rust”

“Why not just extend the OpenAPI specification to skills?”

MixedComment from 4 Feb 2026 in “Agent Skills”

“Swagger and OpenAPI were attempts to solve problems that only exist because we didn't stick with REST”

CriticizesComment from 25 Jan 2026 in “The Lost Art of XML”

“OpenAPI, JsonSchema, GraphQL all describe *Data*.”

MixedComment from 25 Jan 2026 in “JSON-render: LLM-based JSON-to-UI tool”

“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.”

MixedComment from 24 Jan 2026 in “JSON-render: LLM-based JSON-to-UI tool”

“But you know what also gives you auto-generated code that works perfectly without a hitch, with full schema validation?”

RecommendsComment from 24 Jan 2026 in “The Lost Art of XML”

“Except everyone who ever used standards like OpenAPI and JSON Schema.”

RecommendsComment from 23 Jan 2026 in “Composing APIs and CLIs in the LLM Era”

“OpenAPI specs really don't have that much overhead (especially if you make use of YAML anchors)”

RecommendsComment from 16 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“That is very viable these days, just isn't a "default" in the ecosystem.”

RecommendsComment from 15 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“OpenAPI, Thrift and protobuf/gRPC are all far better schema languages.”

RecommendsComment from 15 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“Specs drift from reality, documentation lies, and you're trusting convention”

CriticizesComment from 15 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“I write all of my openapi specs by hand. It's not hard.”

RecommendsComment from 14 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“the issue we face is that REST API specs for many products are either missing, incomplete or simply outdated”

CriticizesComment from 14 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“Post-honeymoon, I returned to REST+Open API”

RecommendsComment from 14 Dec 2025 in “GraphQL: The enterprise honeymoon is over”

“The whole spec would consume a huge fraction of context tokens.”

MixedComment from 10 Dec 2025 in “Donating the Model Context Protocol and establishing the Agentic AI Foundation”

“Yes, and it's called OpenAPI.”

RecommendsComment from 10 Dec 2025 in “Donating the Model Context Protocol and establishing the Agentic AI Foundation”

“Most existing OpenAPI specs out there don't clear that bar”

CriticizesComment from 10 Dec 2025 in “Donating the Model Context Protocol and establishing the Agentic AI Foundation”

“open-api 3.1 is still not viable, and isn't looking like it will be anytime soon.”

CriticizesComment from 29 Nov 2025 in “JSON Schema Demystified: Dialects, Vocabularies and Metaschemas”

“Many users are stuck at 3.0 or even Swagger 2.0 because the libraries they use refuse to support recent versions”

CriticizesComment from 28 Nov 2025 in “JSON Schema Demystified: Dialects, Vocabularies and Metaschemas”

“OpenAPI 3.1 replaced the not-a-superset-or-subset of JSON Schema with the actual JSON Schema”

RecommendsComment from 28 Nov 2025 in “JSON Schema Demystified: Dialects, Vocabularies and Metaschemas”

“having a document describing how your API works, including types, that is important”

RecommendsComment from 25 Nov 2025 in “Claude Advanced Tool Use”

“OpenAPI is another good choice”

RecommendsComment from 25 Nov 2025 in “Claude Advanced Tool Use”

“OpenAPI is also a good choice nowadays.”

RecommendsComment from 25 Nov 2025 in “Claude Advanced Tool Use”

“OpenAPI v3 would be a much better fit”

RecommendsComment from 23 Nov 2025 in “MCP Apps: Extending servers with interactive user interfaces”

“OpenAPI supports a lot of languages, not just 2.”

RecommendsComment from 19 Nov 2025 in “Show HN: Guts – convert Golang types to TypeScript”

“OpenAPI (which I've used and it's a mediocre solution)”

CriticizesComment from 14 Nov 2025 in “.NET 10”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.