Skip to content

apidom-ls / apidom - Default to schema element for message payload when empty node #1076

@frantuma

Description

@frantuma

@frantuma commented on Mon Jan 17 2022

Currently an "empty" payload is not parsed as schema element using refractorPluginReplaceEmptyElement as done for other empty elements. Goal of this ticket is applying the same mechanism also to payload.

Note. The possible reason for this behavior is payload type being any therefore admitting also non schema types.

asyncapi: '2.2.0'
components:
  messages:
    lightMeasured:
      payload:
        

Metadata

Metadata

Assignees

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