-
Notifications
You must be signed in to change notification settings - Fork 17
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
Generation does not work with splitted files #23
Comments
any news on this ? i also have this problem |
Not yet. Had no time to look into it the last 3 days. Sorry. But could you provide a simple 2 file example swagger-definition please. That could improve speed when resolving this issue ;-) |
Hi, I am also having this issue. The generation is working but not for collections with generics: "fooList": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}, Should look like this: private Map<String, String> fooList; but generates this: private String fooList; |
Any idea if this will be fixed. |
Hi, I had a look into the code-generator documentation and did not found any hint that it is possible to use more than one spec-file (it's the -i parameter, right?). So we only could build a custom file-merge and present that to the code-generator. Do you have more information about using multiple spec-files for the code-generator? |
In swagger specs you have the option to reference external elements like:
|
Yes I read that also somewhere in the net, and also that the 'swagger-editor' supports that. But the 'code-generator' only supports one, right? And we only delegate to that generator. I will try it. |
The swagger generator supports it. Yes, I think you need only delegate. |
I'm also interested on this fix |
Have a look on #21 last comment.
The text was updated successfully, but these errors were encountered: