(codeSample: CodeSample)
| 267 | } |
| 268 | |
| 269 | function getAcceptHeader(codeSample: CodeSample) { |
| 270 | // This allows us to display custom media types like application/sarif+json |
| 271 | return codeSample?.response?.contentType?.includes('+json') |
| 272 | ? codeSample.response.contentType |
| 273 | : 'application/vnd.github+json' |
| 274 | } |
no outgoing calls
no test coverage detected