zenstackhq / zenstack

Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
https://zenstack.dev
MIT License
2.07k stars 88 forks source link

Openapi plugin generates rest flavor specifications by default #437

Closed Azzerty23 closed 1 year ago

Azzerty23 commented 1 year ago

Description and expected behavior Openapi plugin generates rest flavor specifications by default instead of rpc as described inside documentation.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

ymc9 commented 1 year ago

Good catch! And I've published a fix. Thank you @Azzerty23 !

ymc9 commented 1 year ago

Fixed by #440