@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: