Skip to content

$ref siblings #705

Description

The behavior of $ref sibling propeties varies across different spec versions:

Allowed - All Properties

Allowed - Selected Properties

Ignored

Mixing specifications from one bucket, with tools from another bucket, may be problematic.

For example, given this spec:

schemas:
  Foo:
    myProp:
      $ref: "#/components/schemas/Bar"
      readonly: true

The readonly property may be ignored or included, depending on the spec version.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions