Hacker News new | ask | show | jobs
by iand675 197 days ago
author here:

I'm not really sure why you'd say that OpenAPI isn't a JSON Schema document: there are published JSON Schema files on the official OpenAPI website. See for example:

One using the draft-04 of JSON schema: https://spec.openapis.org/oas/3.0/schema/2024-10-18.html One using the 2020-12 version of JSON schema: https://spec.openapis.org/oas/3.2/schema/2025-09-17.html

1 comments

JSON Schema editor (and fairly involved with OpenAPI as well) here:

OpenAPI descriptions are not themselves JSON Schema. They _use_ JSON Schema.

There _are_ JSON Schemas that describe OpenAPI documents as well, but that's just because OpenAPI can be described in JSON.