Attaches response headers to a response schema, documented as the response's headers.
headers
Elysia does not validate response headers, this is documentation only.
The response body schema
An object schema of the headers
A copy of schema carrying headers
schema
Attaches response headers to a response schema, documented as the response's
headers.Elysia does not validate response headers, this is documentation only.