RobinTail / express-zod-api

A Typescript library to help you get an API server up and running with I/O schema validation and custom middlewares in minutes.
https://ez.robintail.cz
MIT License
619 stars 30 forks source link

Making HTTP server optional #2086

Closed RobinTail closed 1 week ago

RobinTail commented 1 week ago

This feature allows to avoid spinning up HTTP server when only HTTPS one is needed. It should enable best practices in the establishing secure communication channel.

Changes to ServerConfig type:

coveralls-official[bot] commented 1 week ago

Coverage Status

coverage: 100.0%. remained the same when pulling 1c47da83a0826446456ec3d03b00756b5a2c2c37 on optional-http-server into 4c54b452fafb170b0591e604ca4abd31556ca9df on make-v21.