Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify data model regarding binary data #942

Closed
wants to merge 2 commits into from

Commits on May 31, 2020

  1. Generalize data model language

    It is advantageous in hypermedia environments to apply untyped
    schemas to binary data, despite the lack of a truly suitable
    mapping into the data model.
    handrews committed May 31, 2020
    Configuration menu
    Copy the full SHA
    02c7e74 View commit details
    Browse the repository at this point in the history
  2. "contentMediaType" can describe binary resources

    This expansion of contentMediaType is motivated by the need to
    indicate media types for binary resources in hypermedia environments.
    
    Existing usage (e.g. OpenAPI 3.0) considered unencoded binary data
    to be strings, but such data violates the expectations of JSON strings.
    A better approach is to purely indicate the media type and avoid
    constraining the instance by JSON type as no JSON type is suitable.
    handrews committed May 31, 2020
    Configuration menu
    Copy the full SHA
    5c5fcac View commit details
    Browse the repository at this point in the history