Closed darizhap closed 4 years ago
hello! thx for report, i was able to reproduce the problem using https://petstore.swagger.io/v2/swagger.json. The next two weeks are very busy, most likely I can fix the problem no earlier than the beginning of December.
Thank you for quick response. If you need help with this issue, write here a brief instruction on where to look and what to fix.
@darizhap I apologize for the long wait, we release now version 0.2.0 with fix this issue from @ATchernov. Please check on your side, if all ok - i close issue
Hello! I'm trying to use your moko-network-generator plugin to automatically generate a multi-platform ktor client. If I use the swagger.json from your example in the sample folder, then everything works fine. But if we take another example of the API, then compilation errors may occur when building the client. E. g. if you take a swagger file from petstore.swagger.io, then syntax errors are detected in the generated source files. For example:
Of course, there is still an option to edit those generated source files and build projects manually. But this is not as convenient as if the entire generation and building procedure would be performed automatically.