-
Couldn't load subscription status.
- Fork 3
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug.
It's not possible to add message traits via references.
traits {
trait {
headersRef {
ref("#/components/messageTraits/cloudEventHeaders")
}
}
}produces
traits:
- headers:
$ref: "#/components/messageTraits/cloudEventHeaders"but valid would be
traits:
- $ref: "#/components/messageTraits/cloudEventHeaders"The DSL does not allow to add refs.
Expected behavior
allow traits to be just references
Screenshots
How to Reproduce
See example
🖥️ Device Information [optional]
No response
👀 Have you checked for similar open issues?
- I checked and didn't find similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to work on this issue ?
None
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working