This is a demo for various ways to do runtime type checking in a typescript / nodejs project. Example model with space objects stolen from runtypes documentation
*See commit history*
- plain typeguards
- joi
- runtypes
- runtypes with inference
- json schema
- json schema generated from ts
- bonus: use generated json-schema with swagger