Input Sequelize (TS) models to generate example JSON!
input
→
result
Convert Sequelize (TS) models to JSON!
Input Sequelize (TS) models to generate example JSON!
Use Cases
- Examples for API docs and mocks
- Paste Sequelize (TS) models to get example JSON in the exact shape that is sent and received, ready for API docs, tests and mock data.
- Conversion rules
- Values come from the TypeScript field types, and relations like @HasMany become nested objects and arrays.