http-wizard
http-wizard copied to clipboard
Feature request: Add schema also for Headers
Hello! Like the title suggests, currently the schema suppors only the following fields
type SchemaTypeBox = {
params?: TSchema;
querystring?: TSchema;
body?: TSchema;
response: Record<number, TSchema>;
};
It would be nice to have also the headers fields in order to have type checking also for that
Hi, thanks for the suggestion. It's totally feasable but not have time now. Could you make a PR that implements the feature ?