{
"component": {
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"params": {
"key": {}
},
"id": 0,
"testComponentType": "string",
"componentSubtype": "string",
"componentName": "string",
"componentVersion": "string",
"componentCategory": "string",
"delFlag": "string"
},
"testCaseMain": {
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"params": {
"key": {}
},
"id": 0,
"libraryId": 0,
"templateId": 0,
"caseIdentifier": "string",
"caseName": "string",
"caseVersion": "string",
"provider": "string",
"providerUnit": "string",
"currentStage": "string",
"defectId": "string",
"delFlag": "string"
}
}curl --location --request POST '/main?templateId' \
--header 'Content-Type: application/json' \
--data-raw '{
"component": {
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"params": {
"key": {}
},
"id": 0,
"testComponentType": "string",
"componentSubtype": "string",
"componentName": "string",
"componentVersion": "string",
"componentCategory": "string",
"delFlag": "string"
},
"testCaseMain": {
"createBy": "string",
"createTime": "string",
"updateBy": "string",
"updateTime": "string",
"remark": "string",
"params": {
"key": {}
},
"id": 0,
"libraryId": 0,
"templateId": 0,
"caseIdentifier": "string",
"caseName": "string",
"caseVersion": "string",
"provider": "string",
"providerUnit": "string",
"currentStage": "string",
"defectId": "string",
"delFlag": "string"
}
}'{
"": {}
}