simonireilly / compeller

A strong typescript binding for your OpenAPI Schema that doesn't need generation and is not prescriptive in coding style
MIT License
22 stars 1 forks source link

feat: support for headers #22

Open simonireilly opened 2 years ago

simonireilly commented 2 years ago

We should be able to support headers as:

This should be compatible with the module's responder, requester, and validator.

It would be good to make the responder and requester purer at this junction, and instead of having them be declared inside the scope of compeller, they can be delegated to.