Client request editor #1135
StringNick
started this conversation in
General
Replies: 1 comment 3 replies
-
For now, |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried to research how i can integrate change header or add some logger as server middleware to client library in dev environments, and i researched now it's not possible, so is it possible to add something like oapi-codegen for client generated code, for editing request (for example add custom header, and etc).
Example editor for special route and call:
Example of global request editor for all calls:
It can help to add logger, to add custom debug headers that u cant specify in spec and etc.
Without this configuration its inpossible to use generator for client in my project, for server i saw solution about abstract on server interface, but for client nothing.
Thank you for attention
Beta Was this translation helpful? Give feedback.
All reactions