Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I know about the relational model and used to work with raw SQL for years.

But this is the stack I often work with now:

- Postgres

- Django ORM

- Django REST Framework

- Auto-generated OpenAPI Typescript functions

- A Redux store

- My React app

In other words, four ORM-like non-relational frameworks stacked on top of each other between Postgres and my app.

A generic solution for "complex, possibly unanticipated questions" would need to work through all of those layers.




What do you use for "Auto-generated OpenAPI Typescript functions" ?


Django-rest-swagger to have a Swagger / OpenAPI spec on top of Django REST Framework, and then OpenAPITools/openapi-generator to generate Typescript code.


cool -- what do you use to generate OpenAPI Typescript functions?




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: