Skip to content

Encoding Object examples have invalid schema property #3170

@jeremyfiel

Description

@jeremyfiel

Reviewing the Encoding Object Examples

The keyword type should be $ref.

         addresses:
            # default Content-Type for arrays is based on the `inner` type (object shown, so `application/json` in this example)
            type: array
            items:
              type: '#/components/schemas/Address'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmedia and encodingIssues regarding media type support and how to encode data (outside of query/path params)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions