-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Labels
released on @2022-01-release💡 Proposal (RFC 1)RFC Stage 1 (See CONTRIBUTING.md)RFC Stage 1 (See CONTRIBUTING.md)
Description
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
bali182
Metadata
Metadata
Assignees
Labels
released on @2022-01-release💡 Proposal (RFC 1)RFC Stage 1 (See CONTRIBUTING.md)RFC Stage 1 (See CONTRIBUTING.md)