diff --git a/frontend/src/business/components/api/definition/components/ApiVariable.vue b/frontend/src/business/components/api/definition/components/ApiVariable.vue index 0d050057e7..db043c7c4b 100644 --- a/frontend/src/business/components/api/definition/components/ApiVariable.vue +++ b/frontend/src/business/components/api/definition/components/ApiVariable.vue @@ -296,7 +296,7 @@ export default { this.parameters.push(new KeyValue({ type: 'text', enable: true, - required: true, + required: false, uuid: this.uuid(), contentType: 'text/plain' })); diff --git a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue index ccf665b9e0..c6c2595558 100644 --- a/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue +++ b/frontend/src/business/components/api/definition/components/request/http/ApiHttpRequestForm.vue @@ -307,7 +307,7 @@ export default { let required = false; keyValues.unshift(new KeyValue({ name: line[0], - required: !required, + required: required, value: line[1], description: line[2], type: "text",