Open
Description
Schema Inaccuracy
The Response Schema for the code scanning alert endpoint(for organizations) defines 4 valid values for classifications. When using this endpoint we sometimes get the value "documentation" which is not listed.
"code-scanning-alert-classification": {
"type": "string",
"description": "A classification of the file. For example to identify it as generated.",
"nullable": true,
"enum": [
"source",
"generated",
"test",
"library"
]
},
Expected
The schema should include all values
"code-scanning-alert-classification": {
"type": "string",
"description": "A classification of the file. For example to identify it as generated.",
"nullable": true,
"enum": [
"source",
"generated",
"test",
"library",
"documentation"
]
},
Reproduction Steps
Due to the sensitive nature of the alerts I cannot provide an explicit example.