pantharshit00 / prisma-docs-generator

Prisma generator for automatically generating documentation reference from the Prisma schema.
MIT License
565 stars 27 forks source link

Generating OpenAPI/Swagger Specs #25

Open VinayaSathyanarayana opened 3 years ago

VinayaSathyanarayana commented 3 years ago

Can the prisma-docs-generator be used to generate Open API / Swagger Spec? can it be enhanced?

@pantharshit00 - Would appreciate your inputs

pantharshit00 commented 3 years ago

I would keep that out of scope of this generator but I can totally see that it as something which can be a prisma generator when the API is fully documented.

samchon commented 1 year ago

@VinayaSathyanarayana Use typia's JSON schema generation function to the @prisma/client types.

I think this is the fatest way at now.

https://typia.io/docs/json/schema/