Create a component custom version
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/components/{componentId}/versions
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/components/{componentId}/versions
curl -i -X POST \
https://codeinsightapi.redocly.app/_mock/swagger/components/1/versions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"vulnerabilitySummary": [
{
"property1": {
"property1": 0,
"property2": 0
},
"property2": {
"property1": 0,
"property2": 0
}
}
]
}'