We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version: 4.2.3-SNAPSHOT
parameters: - name: x-api-token in: header description: Authorization Token required: false type: string
The generated code is:
char* valueHeader_x_api_token; keyValuePair_t* keyPairHeader_x_api_token = 0; if (x_api_token) { keyHeader_x_api_token = strdup("x_api_token"); valueHeader_x_api_token = strdup((x_api_token)); keyPairHeader_x_api_token = keyValuePair_create(keyHeader_x_api_token, valueHeader_x_api_token); list_addElement(localVarHeaderParameters, keyPairHeader_x_api_token); }
but i would expect
keyHeader_x_api_token = strdup("x-api-token");
The text was updated successfully, but these errors were encountered:
Hello @axbusch
I fix this defect in PR #5487 . Could you please have a try after the PR is mered?
Sorry, something went wrong.
No branches or pull requests
Version: 4.2.3-SNAPSHOT
The generated code is:
but i would expect
The text was updated successfully, but these errors were encountered: