Describe the bug.
Message Tratis are marked as not valid in the editor interface, but they are parsed by the react component, also in asyncapi studio they are not marked as invalid
Expected behavior
I should show no warning
Screenshots
How to Reproduce
asyncapi example that shows warning in intellij editor but works on Studio
asyncapi: 3.0.0
info:
title: "ZenWave Customer JPA Example"
version: 0.0.1
tags:
- name: "Default"
- name: "Customer"
defaultContentType: application/json
channels:
CustomersChannel:
address: "customers"
messages:
CustomerDeletedEventMessage:
$ref: '#/components/messages/CustomerDeletedEventMessage'
CustomerEventMessage:
$ref: '#/components/messages/CustomerEventMessage'
operations:
onCustomerEvent:
action: send
tags:
- name: Customer
channel:
$ref: '#/channels/CustomersChannel'
onCustomerDeletedEvent:
action: send
tags:
- name: Customer
channel:
$ref: '#/channels/CustomersChannel'
components:
messages:
CustomerEventMessage:
name: CustomerEventMessage
title: ""
summary: ""
traits:
- $ref: '#/components/messageTraits/CommonHeaders'
payload:
schemaFormat: application/vnd.apache.avro+json;version=1.9.0
schema:
$ref: "https://raw.githubusercontent.com/ZenWave360/zenwave-playground/refs/heads/main/examples/asyncapi/apis/avro/CustomerEvent.avsc"
CustomerDeletedEventMessage:
name: CustomerDeletedEventMessage
title: ""
summary: ""
traits:
- $ref: '#/components/messageTraits/CommonHeaders'
payload:
schemaFormat: application/vnd.apache.avro+json;version=1.9.0
schema:
$ref: "https://raw.githubusercontent.com/ZenWave360/zenwave-playground/refs/heads/main/examples/asyncapi/apis/avro/CustomerDeletedEvent.avsc"
messageTraits:
CommonHeaders:
headers:
type: "object"
properties:
kafka_messageKey:
type: "integer"
description: This header value will be populated automatically at runtime
x-runtime-expression: "$message.payload#/id"
🖥️ Device Information [optional]
- Operating System (OS):
- Browser:
- Browser Version:
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
Describe the bug.
Message Tratis are marked as not valid in the editor interface, but they are parsed by the react component, also in asyncapi studio they are not marked as invalid
Expected behavior
I should show no warning
Screenshots
How to Reproduce
asyncapi example that shows warning in intellij editor but works on Studio
🖥️ Device Information [optional]
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None