-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Open
Description
openapi-generator/modules/openapi-generator/src/main/resources/dart2/api_client.mustache
Line 34 in ee0686e
| _authentications['{{name}}'] = ApiKeyAuth({{#isKeyInHeader}}"header"{{/isKeyInHeader}}{{^isKeyInHeader}}"query"{{/isKeyInHeader}}, "{{keyParamName}}"); |
Cookie authentication, I think (correct me if I'm wrong, please, as I'm still learning swagger/generator), is not handled correctly in dart2 templates. Rather than putting Cookie headers in requests back to server, the apiKey gets sent back as a query parameter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels