@cqa-lib/cqa-ui 1.1.400 → 1.1.401
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/test-case-details/api-edit-step/api-edit-step.component.mjs +32 -7
- package/fesm2015/cqa-lib-cqa-ui.mjs +32 -7
- package/fesm2015/cqa-lib-cqa-ui.mjs.map +1 -1
- package/fesm2020/cqa-lib-cqa-ui.mjs +31 -6
- package/fesm2020/cqa-lib-cqa-ui.mjs.map +1 -1
- package/lib/test-case-details/api-edit-step/api-edit-step.component.d.ts +21 -1
- package/package.json +1 -1
|
@@ -30166,12 +30166,37 @@ class ApiEditStepComponent {
|
|
|
30166
30166
|
}
|
|
30167
30167
|
const environment = this.selectedEnvironment != null ? String(this.selectedEnvironment) : '';
|
|
30168
30168
|
const method = this.selectedMethod != null ? String(this.selectedMethod) : '';
|
|
30169
|
-
|
|
30170
|
-
|
|
30171
|
-
|
|
30172
|
-
|
|
30173
|
-
|
|
30174
|
-
|
|
30169
|
+
try {
|
|
30170
|
+
const step1 = this.getCreatePayload().step1;
|
|
30171
|
+
this.sendRequest.emit({
|
|
30172
|
+
environment: step1.environment ?? environment,
|
|
30173
|
+
method: step1.method ?? method,
|
|
30174
|
+
url: step1.url ?? (this.url ?? ''),
|
|
30175
|
+
headers: step1.headers ?? this.headers,
|
|
30176
|
+
authType: step1.authType,
|
|
30177
|
+
bearerToken: step1.bearerToken,
|
|
30178
|
+
oauth2: step1.oauth2,
|
|
30179
|
+
payloadType: step1.payloadType,
|
|
30180
|
+
payloadFormat: step1.payloadFormat,
|
|
30181
|
+
payloadText: step1.payloadText,
|
|
30182
|
+
keyValueRows: step1.keyValueRows,
|
|
30183
|
+
keyTypeValueRows: step1.keyTypeValueRows,
|
|
30184
|
+
paramsRows: step1.paramsRows,
|
|
30185
|
+
});
|
|
30186
|
+
}
|
|
30187
|
+
catch {
|
|
30188
|
+
this.sendRequest.emit({
|
|
30189
|
+
environment,
|
|
30190
|
+
method,
|
|
30191
|
+
url: this.url ?? '',
|
|
30192
|
+
headers: this.headers,
|
|
30193
|
+
authType: this.selectedAuthType,
|
|
30194
|
+
bearerToken: this.bearerToken ?? '',
|
|
30195
|
+
payloadType: this.payloadType,
|
|
30196
|
+
payloadFormat: this.payloadFormatForm?.get('format')?.value ?? '',
|
|
30197
|
+
payloadText: this.payloadText ?? '',
|
|
30198
|
+
});
|
|
30199
|
+
}
|
|
30175
30200
|
}
|
|
30176
30201
|
onVariableNameChange() {
|
|
30177
30202
|
this.variableNameError = '';
|