Skip to content

ChannelItem.$ref field deprecation + proposal how to replace it with simpler and more flexible solution #607

@char0n

Description

@char0n

Hi all,

I was wondering if specification would be open to proposal of deprecating ChannelItem.$ref field and instead introduce a more flexible solution based on following spec changes:

Introduce new fixed field called channelItems to Component Object

Field Name Type Description
channelItems Map[string, Channel Item Object | Reference Object] An object to hold reusable Channel Item Objects.

Change type of Channels Object

The type of Channels Object patterned field would change from Channel Item Object to Channel Item Object | Reference Object

Deprecating the Channel Item Object $ref field.


This proposal makes specification more flexible (introducing reusable Channel Item Objects) and simpler as there will be only one mechanism for referencing other objects (Reference Object) instead of two (Reference Object, Channel Item Object).

Similar course of action is already in progress in OAS: OAI/OpenAPI-Specification#2635

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions