I was trying to use include to filter out the requests to be generated, but it wasnt working, i was getting an empty class
Looking through the source code (/src/requestCodegen/index.ts)
I found out that the methodName variable (operationId) is transformed to camelCase.
For the include filter (param of codegen method) to work i have to get the operationId from the swagger.json and also transform to camelCase and it doesnt make sense
I was trying this way, following the swagger.json:
I was trying to use include to filter out the requests to be generated, but it wasnt working, i was getting an empty class
Looking through the source code (/src/requestCodegen/index.ts) I found out that the methodName variable (operationId) is transformed to camelCase. For the include filter (param of codegen method) to work i have to get the operationId from the swagger.json and also transform to camelCase and it doesnt make sense
I was trying this way, following the swagger.json:
But only this worked: