You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be useful to add annotations which will persist in the generated client similarly to how route can be annotated for the generated docs (e.g. tags)
currently generated client only has a single js-exported constant jsonEndpoints which enumerates all endpoints where the value is true. it would be nice to be able to add custom annotations to either the same constant or another exported constant with custom metadata about the endpoint the client can take into account when making requests to the api. perhaps something like:
it would be useful to add annotations which will persist in the generated client similarly to how route can be annotated for the generated docs (e.g.
tags
)express-zod-api/example/example.client.ts
Lines 114 to 118 in 602f6f3
currently generated client only has a single js-exported constant
jsonEndpoints
which enumerates all endpoints where the value istrue
. it would be nice to be able to add custom annotations to either the same constant or another exported constant with custom metadata about the endpoint the client can take into account when making requests to the api. perhaps something like:The text was updated successfully, but these errors were encountered: