Replies: 3 comments
-
You can do any kind of manipulations with custom templates using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah, thanks, I've been looking through it. If you don't mind keeping this issue open then I'd like to reply here once I'll get something viable |
Beta Was this translation helpful? Give feedback.
0 replies
-
@amankkg |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a permission system in our backend done via enum per each endpoint. I'd like to somehow automate such logic.
One way of doing so if swagger will have enum string as a note to an endpoint like this
Is there a way to add that endpoint as TS literal type to a resulting class or method?
Or, maybe there are other ways to achieve a similar outcome?
Beta Was this translation helpful? Give feedback.
All reactions