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
Originally posted by StringNick December 12, 2023
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
The text was updated successfully, but these errors were encountered:
Discussed in #1135
Originally posted by StringNick December 12, 2023
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
The text was updated successfully, but these errors were encountered: