-
Notifications
You must be signed in to change notification settings - Fork 6k
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
help getting started with jackson generation #5785
Comments
I used spring language and it generated all Jackson annotations in models, if that is what you looking for then you run following command: |
Thanks, that's exactly the command I'm using. Some objects get generated - but then it crashes. |
In your question you said you are using "java", so suggested to use "spring" language instead to get Jackson annotation in your models. About your second question: You have huge specification file, I would recommend to split it. Thats aside I tried to import your specification to swagger editor and saw there are errors, so I would recommend to fix those errors before trying anything. |
Thanks for the reply. It's not my file unfortunately. Using the spring flag worked. Well, it at least generated some useful classes. |
I'm trying to generate a java jackson api (with @JsonProperty annotation etc) from https://github.com/npomfret/coinsbank-php-sdk/blob/master/reference/coinsbank-sapi.json.
So i run:
How do I get it to generate the jackson annotations?
Also, it crashes after generating some classes at
Resource: put /card/name/_{cardUniqueId}
with:This isn't my json, so I'm not too familiar with it. Maybe it's not well formed swagger?
The text was updated successfully, but these errors were encountered: