Skip to content

Commit 30ca35c

Browse files
committed
fix: remove unsupported cookie parameters from interactive form
Signed-off-by: Yash-Raj-5424 <myash3499@gmail.com>
1 parent 32e6671 commit 30ca35c

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

layouts/partials/rest-apis/parameter-inputs.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
(dict "key" "path" "label" "Path parameters")
99
(dict "key" "query" "label" "Query parameters")
1010
(dict "key" "header" "label" "Header parameters")
11-
(dict "key" "cookie" "label" "Cookie parameters")
1211
}}
1312

1413
{{ range $locations }}

static/js/rest-api-executor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class RESTAPIExecutor {
234234
/**
235235
* Get parameter values from inputs
236236
* @param {Element} operationPanel - The operation panel element
237-
* @param {string} location - Parameter location (path, query, header, cookie)
237+
* @param {string} location - Parameter location (path, query, or header)
238238
* @returns {Object} Parameter values
239239
*/
240240
getParameterValues(operationPanel, location) {

0 commit comments

Comments
 (0)