sngular / scs-multiapi-plugin

This is a Maven plugin designed to help developers automatizing the creation of code classes from YML files based on AsyncApi and OpenAPI.
http://sngular.com
Mozilla Public License 2.0
48 stars 10 forks source link

[AsyncAPI] Only generate model classes without the interfaces and publisher/subscriber methods #342

Open arthureberledev opened 5 months ago

arthureberledev commented 5 months ago

Hey, is there a way to prevent the generation of interfaces and publisher/subscriber methods?

If I have understood it correctly, this library is primarily to be used with Spring Cloud Streams. Our project uses Spring Kafka instead of Spring Cloud Streams though, so we do not need these generated interfaces and methods. Currently, if we do not implement these interfaces, we encounter an error because they are not loaded into the application context, so we are forced to either implement them within a not used class or exclude them from the component scan.

github-actions[bot] commented 5 months ago

Thank you for collaborating with the project by giving us feedback! Cheers!