-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsyncApi doc genearation without root tag #40
Comments
Thanks for reporting thus issue! I make the change and then close this issue. |
Thanks much for response and project! I had mistake in my message (in asyncApiDocket method), i fixed it, the title now is "myproject" |
Resolved in #75 |
Finally fixed, will be available in the next release (will require ui update) |
Now my generation document on http://localhost:8086/springwolf/docs is:
{ "myproject": { "asyncapi": "2.2.0" "info": { .... } ...... } }
The root node's "myproject" name is from part of AsyncApiConfig:
If I set title to null, NullPointerException hapens.
When i try to generate client schema by AsyncApi generator
# ag http://localhost:8086/springwolf/docs @asyncapi/java-spring-template
I get the error:
In the code of parser.js exception happens if there is no field "asyncapi" in Json (at first level). How can I generate the asyncapi document without root project title tag?
The text was updated successfully, but these errors were encountered: