Why does swagger codegen generates createAll java method name as create_all_using_postIntValue in python instead of create_all_using_post?

Viewed 19

While generating swagger client through CodeGen, it is appending 2 digits character at the end of the method name. For Ex: Java rest API HTTP POST /all is generating the method name in python client as create_all_using_postIntValue or create_all_using_post19

I want the generated method name as create_all_using_post. Why is it happened and how to fix this?

I am using below commands to generate the client:

swagger-codegen generate -i https://example.com/v3/api-docs -l python -o swagger_test
0 Answers
Related