Skip to content

mediatype: schema+yaml #18

Open
Open
@ioggstream

Description

@ioggstream

I expect

To register the application/schema+yaml media type to support interoperability.

Notes

YAML is widely used in the API community to write specification documents like OAS3+ files.
Since OAS3.0 builds on json-schema draft 4 and OAS3.1 on json-schema 2020, it is useful to
standardize that:

  • it is possible to serialize json-schema using subset of YAML that can be represented in JSON;
  • support tools for people that currently use YAML syntax (eg. in schema and API catalogues, in developer platforms, ..)

Benefits:

  • since YAML is already used for developing schemas, providing a media type with related interoperability and security considerations supports the regulation of already established practices;
  • API developers using YAML serialization usually need to convert specifications from/to JSON to use json-schema tools: we expect that registering this media type will improve yaml support in json-schema tools and avoid manual work.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions