Giter VIP home page Giter VIP logo

Comments (7)

Pakisan avatar Pakisan commented on September 25, 2024 1

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.

github-actions avatar github-actions commented on September 25, 2024

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.

Pakisan avatar Pakisan commented on September 25, 2024

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.

debargharoy avatar debargharoy commented on September 25, 2024

So, I would assume it's similar to a Java wrapper for something that can be done manually. Isn't it?

from jasyncapi.

github-actions avatar github-actions commented on September 25, 2024

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.

derberg avatar derberg commented on September 25, 2024

@Pakisan is there anything we can do here or closing?

from jasyncapi.

Pakisan avatar Pakisan commented on September 25, 2024

@derberg I think we can close this issue. It's nothing new will happen here

from jasyncapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.