Annoucing deepkit-openapi, a deepkit framework OpenAPI generator #264
hanayashiki
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First, I must thank the author of this great library ~ It discovers a more flexible way of writing typescript applications, handling validation and transformation in a breathe, not to mention the great work in ORM and a great documentation.
Since the type info is extracted by
@deepkit/type-compiler
, there should be a way to map that to the corresponding OpenAPI. In old days with NestJS, people write decorators to document the types of models. Now, we should be able to generate OpenAPI documentation with just the static types, and this idea is proved by deepkit-openapi.Please give this library a try if you'd like a FastAPI-like experience: https://www.npmjs.com/package/deepkit-openapi
Beta Was this translation helpful? Give feedback.
All reactions