Skip to content

JSON Schemas for v3.0 Encoding object missing pattern properties for extensions #3251

@MikeEdgar

Description

@MikeEdgar

The schema for the Encoding object is missing patternProperties for extension properties.

patternProperties:
  '^x-': {}

Encoding:
type: object
properties:
contentType:
type: string
headers:
type: object
additionalProperties:
oneOf:
- $ref: '#/definitions/Header'
- $ref: '#/definitions/Reference'
style:
type: string
enum:
- form
- spaceDelimited
- pipeDelimited
- deepObject
explode:
type: boolean
allowReserved:
type: boolean
default: false
additionalProperties: false

I will open a PR if the maintainers agree this should be added.

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