Skip to content

Commit

Permalink
Update backend-api-docs.json (#2331)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Jul 14, 2023
1 parent 4dc5c5e commit 5192772
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions save-backend/backend-api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9636,6 +9636,61 @@
]
}
},
"/api/v1/vulnerabilities/reject": {
"post": {
"description": "Reject vulnerability.",
"operationId": "reject",
"parameters": [
{
"example": "basic",
"in": "header",
"name": "X-Authorization-Source",
"required": true
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VulnerabilityDto"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
},
"description": "Successfully rejected vulnerability"
},
"401": {
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
},
"description": "Unauthorized"
}
},
"security": [
{
"basic": []
}
],
"summary": "Reject vulnerability.",
"tags": [
"vulnerabilities"
]
}
},
"/api/v1/vulnerabilities/save": {
"post": {
"description": "Save vulnerability.",
Expand Down

0 comments on commit 5192772

Please sign in to comment.