I'm trying to implement a (simple) login with OpenAPI and TS but have no idea where to start. As far as I can tell this can't be done (yet), but that can't be right.
Trying to implement a POST request:
/login:
post:
x-webhare-implementation: api.ts#login
In HareScript RPCs I would just use wrd/lib/internal/auth/webdesignplugin.whlib / wrd/lib/auth.whlib but in this case, I want to use TS and support login for a frontend outside of WebHare.
Don't think I can use @webhare/frontend, as that's only for frontends in WebHare?
Does somebody have any hint?