-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
Hi!
First, thanks for this awesome library! :)
Is there any way to leverage the route configuration in the creation of http clients? My goal is to define the route only once (in the route config) and somehow generate client code that for example uses the fetch API to issue requests against a backend and validates the responses against the configured ZodSchema.
As it stands today, I have to manually create my http client classes in TS and repeat the information that I have already provided in the route config.
I guess what I'd like to have is something similar to creating TS clients from a OpenAPI spec.
How do you usually handle the creation of http client classes?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels