Skip to content
This repository was archived by the owner on Oct 23, 2026. It is now read-only.
This repository was archived by the owner on Oct 23, 2026. It is now read-only.

Multi-format is a goal, not an accident — say so in the specification #24

Open

Description

@kinlane

Linting things that are not OpenAPI is a goal, not an accident — and the specification should say so.

Raised in office hours 2026-08-14 (#19). #13 draws the right distinction and then explicitly parks this half of it:

Multi-format is what you lint. Aggressively yes — that work is elsewhere.

Elsewhere does not currently exist. This is elsewhere.

The state of things

The format already lints arbitrary structured documents. In practice it gets pointed at APIs.json, at GitHub Action YAML, at Kubernetes manifests, at configuration of every kind — and it works, because the underlying model was never actually OpenAPI-specific.

But essentially nobody knows that:

That's still the default what people think it's for.

Every example is an OpenAPI example. Every alias is an OpenAPI alias. The bundled rulesets are OpenAPI and AsyncAPI. The documentation opens on OpenAPI. So a tool that is a general-purpose structured-document linter reads as an OpenAPI linter with some undocumented slack in it.

Why the perception matters

Two reasons, and the second is the one that matters for the specification.

  1. Adoption. The addressable use is much larger than API description documents, and the current framing hides that.
  2. Design pressure. As long as OpenAPI is the assumed subject, OpenAPI-shaped assumptions leak into the format — into aliases, into the format detector, into what "a document" is assumed to contain. Naming multi-format as a goal is what stops that drift.

What to settle

  • Does the specification state multi-format support normatively, or is it an emergent property nobody promised?
  • What does a format actually declare? Today oas2/oas30/oas31/asyncapi2 exist as known formats with detection built in. What does it take for someone to declare a new format — for APIs.json, for Arazzo (Arazzo: 1.1 support, and teaching the format about document-level extends #12), for their own internal schema — without a change to an engine?
  • Format detection without configuration. Directly related to the CLI auto-detect work; detection that only knows OpenAPI is a ceiling on everything above.
  • How do aliases attach to a format that the specification does not ship? Depends on the alias namespace work.

Not in scope

Multi-policy-language — expressing rules in Rego or anything else. That is #13, and the answer there is no. This issue is only about what gets linted, never about what the rule is written in.

Activity

  1. added
    enhancement
    roadmap
    on Aug 17, 2026
  2. kinlane commented on Aug 21, 2026

    @kinlane
    ContributorAuthor

    From office hours, 2026-08-21. The concrete target list, and the thing that makes this issue
    matter more than it reads.

    Formats named on the call as things this is already used against, or should be:

    Format Status
    OpenAPI, AsyncAPI Supported
    Arazzo "Right there on the table" — spotlight-tools has fork:arazzo, see #12
    OpenAPI Overlay Used; and the JSON Path incompatibility bites here first — see #28
    JSON Schema, standalone Used heavily outside OpenAPI
    APIs.json Used
    JSON-LD Used
    GitHub Actions YAML Used — and see below
    Markdown / agent skills #32 — the leading killer-feature candidate
    MCP JSON-RPC today, so not amenable in current form; a description format for it is emerging
    CLI surface area A specification for describing CLIs is under review; same governance question

    Two observations that make this a positioning issue and not just a feature list:

    The perception gap is costing adoption. Everyone assumes this is an OpenAPI linter. It is a
    general-purpose structured-document rule engine that happens to ship OpenAPI rulesets. Saying so
    in the specification — which is what this issue asks for — is the cheapest available correction.

    Linting the pipeline, not just the documents. A GitHub Actions workflow is a YAML document,
    so a ruleset can assert on what rules a pipeline actually runs, not only on what the pipeline
    checks. That is a governance capability nobody else in this space offers, and it falls out of
    multi-format support for free.

    Related: #12, #21, #28, #32.


    Filed from the office hours of 2026-08-21. Full notes: #34.

  3. kinlane commented on Aug 28, 2026

    @kinlane
    ContributorAuthor

    From the office hours of 28 August 2026 (#40) — the strongest evidence yet for this issue, and it comes from a user, not from us.

    From a public-sector platform team, asked what they need from wherever this specification lives:

    One thing that's important from our standpoint is that it's not something specifically targeted at OpenAPI. We use it for other things alongside OpenAPI — stuff like JSON-FG, which is basically the successor of GeoJSON. And in our earlier conversations, we also philosophized about it being suitable for other things — something which might not even be JSON at all. So the whole open character is something that's important for us.

    Three things this adds.

    1. Multi-format is in production, not on a wishlist. JSON-FG is a real format, being linted with this today, by an organisation whose government has mandated the tooling. "Multi-format is a goal" is a description of existing use, which is a much stronger basis for normative wording than an aspiration.
    2. "Might not even be JSON at all" is the harder requirement, and it is the same finding as Markdown as a first-class format — linting agent skills, and why paths do not fit prose #32 (markdown as a format), reached independently by a different user for a different reason. Two separate pressures toward the same conclusion: the format's node model must not assume JSON, even where its own serialisation is JSON/YAML.
    3. This is now also a constraint on the home question (Where does the specification live permanently? #8). The same user said plainly that because of this, "maybe the OpenAPI Initiative might not be the best place." A specification whose users lint non-OpenAPI and potentially non-JSON documents cannot comfortably live in a body named for OpenAPI. The multi-format wording in this issue and the home decision are the same argument, and Where does the specification live permanently? #8 should be reading this issue.

    Related: #32 · #8 · #12 · #41.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementroadmap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions