Comments (7)
Yes. Right now manual definition is the only way. I think annotations with reflection for their handling will appear in middle of winter
from jasyncapi.
Welcome to AsyncAPI. Thanks a lot for reporting your first issue.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
from jasyncapi.
Hi, @debargharoy
I'm currently under the perception that there's no support to generate the spec file with annotations on the existing code I have (as is the case with Swagger).
You are right. At the moment maven/gradle plugin doesn't supports reflections, because of missing AsyncAPI annotations
it's not exactly clear how should I adjust the classes that I already have so as to enable the spec generation.
At the moment you need to create class, which extends AsyncAPI and override getters to provide actual data. Here is an example in test - LampsAsyncAPI. After this you can configure plugin and invoke generation. Here is an example in test - custom-pom.xml
from jasyncapi.
So, I would assume it's similar to a Java wrapper for something that can be done manually. Isn't it?
from jasyncapi.
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 60 days if no further activity occurs. To unstale this issue, add a comment with detailed explanation.
Thank you for your contributions ❤️
from jasyncapi.
@Pakisan is there anything we can do here or closing?
from jasyncapi.
@derberg I think we can close this issue. It's nothing new will happen here
from jasyncapi.
Related Issues (20)
- Verify Kafka bindings
- Verify Mercure bindings
- Verify MQTT bindings
- Verify NATS bindings
- Verify Pulsar bindings
- Verify Redis bindings
- Verify SNS bindings
- Verify Solace bindings
- Verify SQS bindings
- Verify STOMP bindings
- Verify WebSockets bindings
- Choose binding from given version
- Parse correctly schemas different to AsyncAPI schema HOT 3
- Specification validation trough validation API HOT 1
- Ensure that 2.0.0 was implemented correctly
- [BUG] AsyncAPI v3.0.0 no longer serializable HOT 9
- [FEATURE] Expose custom bindings HOT 2
- [BUG] Missing compatibility with IntelliJ IDEA 2024.2.0.1 HOT 2
- [BUG] [asyncapi-core] lombok dependency should be marked as `provided`
- [FEATURE] jakarta validation-api JSR 303
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jasyncapi.