()
| 1280 | statuses.set(status, entry) |
| 1281 | } |
| 1282 | const combineError = () => |
| 1283 | new Error( |
| 1284 | `Cannot combine a response with headers with another response for status ${status} and content-type: ${ |
| 1285 | contentType || "<no content>" |
| 1286 | }` |
| 1287 | ) |
| 1288 | if (HttpApiSchema.isWithHeaders(schema) || withHeadersAnnotation !== undefined) { |
| 1289 | if (entry.headerContentType !== undefined) { |
| 1290 | throw new Error(`Cannot declare multiple responses with headers for status ${status}`) |
no outgoing calls
no test coverage detected