Skip to content

Add OpenAPISource to the property type vocabulary #121

Closed

Description

@kinlane

OpenAPI Source records where a harvested API description came from:

- type: OpenAPI Source
  url: https://github.com/chargebee/openapi

It is not in the 0.23 type pattern, and it is in real use: 10,563 pointers across 32 repositories in the APIs.io catalog, concentrated in cisco-ise (6,304), cisco-umbrella (2,210) and intersight (1,287).

Why it deserves a name rather than an extension

The format has no other way to say where a document came from, and that is the single most useful fact about an archived contract. Measured 2026-08-29 across the catalog: only 1.0% of the 22,430 archived spec files record their origin any other way. Refusing the type discards provenance that already exists.

The alternative — migrating to X-OpenAPI-Source, which 7 repositories already use and which is legal — demotes a genuinely useful type to a vendor extension and rewrites 10,563 entries.

Proposed

Add both forms: OpenAPISource and OpenAPI Source.

Both, because adding only the unspaced form leaves all 10,563 existing pointers invalid, which was the entire reason for adding it. The pattern already carries 30 space-containing alternatives, including the pairs Terms of Use/TermsOfUse, Postman Collection/PostmanCollection and Sign Up/SignUp — carrying both spellings is the established convention here, not a special case.

Purely permissive: it widens a regex, so nothing that validates today stops validating.

Status

Committed to develop in spec/schema_0.23.yml (e487ed6). Not published — spec/schema_0.23.yml is currently byte-identical to what apisjson.org serves and what reaches SchemaStore, and this repository versions vocabulary additions (0.23 — eight types the scoring rubric asked for). Wants a 0.24 or a deliberate republish.

Found via api-evangelist/roadmap#12.

Activity

  1. kinlane commented on Nov 7, 2026

    @kinlane
    ContributorAuthor

    Done in #128: OpenAPISource and "OpenAPI Source" are accepted since 0.24 and listed among the synonyms.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions