Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merging to release-5.7.0: Revert "[TT-13422] Do not allow empty strin…
…g in upstream auth configuration strings" (#6702) (#6704) ### **User description** Revert "[TT-13422] Do not allow empty string in upstream auth configuration strings" (#6702) Reverts #6699 temporary revert with common change for AuthSource [TT-13422]: https://tyktech.atlassian.net/browse/TT-13422?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ ___ ### **PR Type** enhancement, bug fix ___ ### **Description** - Reverted changes that enforced non-empty strings in the OpenAPI Specification (OAS) schema, specifically for the `name` property in `X-Tyk-AuthSource`. - Adjusted references for `header` properties in various authentication objects to use `X-Tyk-UpstreamAuthSource`. - Reintroduced the `X-Tyk-UpstreamAuthSource` definition to align with previous configurations. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><table> <tr> <td> <details> <summary><strong>x-tyk-api-gateway.json</strong><dd><code>Revert non-empty string enforcement and adjust AuthSource references</code></dd></summary> <hr> apidef/oas/schema/x-tyk-api-gateway.json <li>Reverted the <code>name</code> property in <code>X-Tyk-AuthSource</code> to use <code>type: string</code> <br>instead of <code>X-Tyk-NonEmptyString</code>.<br> <li> Changed <code>$ref</code> for <code>header</code> in <code>X-Tyk-UpstreamBasicAuthentication</code> and other <br>sections to <code>X-Tyk-UpstreamAuthSource</code>.<br> <li> Reintroduced <code>X-Tyk-UpstreamAuthSource</code> definition with <code>name</code> as a string <br>type.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6704/files#diff-78828969c0c04cc1a776dfc93a8bad3c499a8c83e6169f83e96d090bed3e7dd0">+15/-4</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull request to receive relevant information Co-authored-by: Jeffy Mathew <[email protected]>
- Loading branch information