Small fixes
A selection of 80 fixes from 174 pull requests.
65.Two encoders, two statuses
A stream inside WithHeaders could use a different status from its header encoder and defect. Both encoders must resolve the status from the original wrapped schema.
12123456778const streamSchema = getStreamSuccessSchema(endpoint)if (streamSchema === undefined) {const successSchema = getStreamSuccessSchema(endpoint)if (successSchema === undefined) { return undefined}
const streamSchema = successSchema.bodyconst hasBuffered = hasBufferedSuccess(endpoint)const status = HttpApiSchema.getStatusStream(streamSchema)const status = HttpApiSchema.getStatusSuccessSchema(successSchema.schema)