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
Wrapped in authMethods as a workaround. As mentioned in linked ticket.
Environment (please complete the following information):
Node 20.11
Additional context
Other ticket closed as not planned. Would you welcome a PR with documentation on this as a workaround or add it to the examples? Also, the case of Content-Type on header seemed to need to match exactly. Assume all issues are due to the generator, but might be worth it to expose a wrapper for middleware that hides this or at least some documentation.
Describe the bug
Override of content type via middleware does not take effect. Had to use work around listed here.
#1499
** Client Version **
1.0.0-rc6
** Server Version **
1.28.11
To Reproduce
Attempt to set StrategicMergePatch using middleware on the 1.0 client
Expected behavior
The middleware to take effect.
** Example Code**
nullplatform/k8s-lease-lock@6b189fd#diff-d8eee3b9c50488b328e4b9805b642354ccbaefadf361cbd9bd763925ed61ebeaR50
Wrapped in authMethods as a workaround. As mentioned in linked ticket.
Environment (please complete the following information):
Node 20.11
Additional context
Other ticket closed as not planned. Would you welcome a PR with documentation on this as a workaround or add it to the examples? Also, the case of Content-Type on header seemed to need to match exactly. Assume all issues are due to the generator, but might be worth it to expose a wrapper for middleware that hides this or at least some documentation.
Likely issue: OpenAPITools/openapi-generator#14549
Not sure how often people will run into this, but wanted visibility that it was still an issue that people were running into.
The text was updated successfully, but these errors were encountered: