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
How to remove usingPUT? #146
Comments
2, is solved |
Can you provide a sample Swagger file you're using? It's unclear to me what those
You can use the |
1, solved sorry it was in the spec file: "operationId" I just simple removed that chars |
3, What is the class that can I refactor/update to create that two responses/requests directories? I think this is possible, because we know what is the Request classes and what is the Response classes, so in this way we can seperate it... |
It's the KotlinGenerator class https://github.com/Yelp/swagger-gradle-codegen/blob/master/gradle-plugin/plugin/src/main/java/com/yelp/codegen/KotlinGenerator.kt |
Thanks, I will try it |
I'll close this issue as it's a mixture of questions. Should you need further support on point 3, please open another issue 👌 |
1, How to remove ALL usingPUT/usingPOST/UsingGET1/using* at the end of the suspend fun?
2, How to remove header:
"X-Operation-ID: blabla"?
3, How to generate responses under models/responses and requests under models/requests?
BTW, Thanks for the library!
The text was updated successfully, but these errors were encountered: