asyncapi/saunter

[FEATURE] Allow usages of the annotation attributes on interfaces (not only classes)

smoerijf opened this issue · 0 comments

Why do we need this improvement?

Allows for nicer architecture using interfaces in the projects consuming AsyncApi.

How will this change help?

Service interfaces with annotations together with data classes can be separated from actual implementations. (Similar to WCF or gRPC)

Screenshots

No response

How could it be implemented/designed?

Allow the AsyncApi, Channel, ChannelParameter and Operation attributes to be used on interface targets.

(I've code & unitTests ready)

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!