Skip to content

Commit 78efb24

Browse files
committed
fix(crystal): add isKeyInCookie in Crystal configuration.mustache
1 parent b856a9e commit 78efb24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/resources/crystal/configuration.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ module {{moduleName}}
214214
{{#isApiKey}}
215215
"{{name}}" => {
216216
type: "api_key",
217-
in: {{#isKeyInHeader}}"header"{{/isKeyInHeader}}{{#isKeyInQuery}}"query"{{/isKeyInQuery}},
217+
in: {{#isKeyInCookie}}"cookie"{{/isKeyInCookie}}{{#isKeyInHeader}}"header"{{/isKeyInHeader}}{{#isKeyInQuery}}"query"{{/isKeyInQuery}},
218218
key: "{{keyParamName}}",
219219
value: api_key_with_prefix(:{{keyParamName}})
220220
},

0 commit comments

Comments
 (0)