Description
My swagger file has a query param project_id. The generated code sends this as projectId.
Swagger-codegen version
master
Swagger declaration file content or url
post:
summary: xxx
description: |
operationId: add_notification_target
consumes:
- application/json
produces:
- application/json
parameters:
- name: project_id
in: query
description: XXX
required: true
type: integer
format: int32
Results in Go code:
queryParams.Add("projectId", a.Configuration.APIClient.ParameterToString(projectId, ""))
Suggest a Fix
We should not sanitize/caseify parameters.
Description
My swagger file has a query param
project_id. The generated code sends this asprojectId.Swagger-codegen version
masterSwagger declaration file content or url
Results in Go code:
Suggest a Fix
We should not sanitize/caseify parameters.