-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TT-7815] ensure path params are migrated to OAS #6966
Conversation
Let's make that PR title a 💯 shall we? 💪 Your PR title and story title look slightly different. Just checking in to know if it was intentional!
Check out this guide to learn more about PR best-practices. |
API Changes no api changes detected |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
This PR is replacing #6901 after the refinement of https://tyktech.atlassian.net/browse/TT-7815 |
|
/release to 5.8.0 |
@edsonmichaque Release branch not found |
/release to release-5.8.0 |
Working on it! Note that it can take a few minutes. |
### **User description** <details open> <summary><a href="https://tyktech.atlassian.net/browse/TT-7815" title="TT-7815" target="_blank">TT-7815</a></summary> <br /> <table> <tr> <th>Summary</th> <td>Cannot migrate API with endpoints containing path parameter </td> </tr> <tr> <th>Type</th> <td> <img alt="Bug" src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium" /> Bug </td> </tr> <tr> <th>Status</th> <td>In Dev</td> </tr> <tr> <th>Points</th> <td>N/A</td> </tr> <tr> <th>Labels</th> <td><a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20DoD_Fail%20ORDER%20BY%20created%20DESC" title="DoD_Fail">DoD_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20QA_Fail%20ORDER%20BY%20created%20DESC" title="QA_Fail">QA_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20Re_open%20ORDER%20BY%20created%20DESC" title="Re_open">Re_open</a></td> </tr> </table> </details> <!-- do not remove this marker as it will break jira-lint's functionality. added_by_jira_lint --> --- <!-- Provide a general summary of your changes in the Title above --> ## Description <!-- Describe your changes in detail --> This PR makes sure that path params are successfully migrated from Classic to OAS ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> https://tyktech.atlassian.net/browse/TT-7815 ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ### **PR Type** - Bug fix - Enhancement - Tests ___ ### **Description** - Refactored path splitting logic for OAS conversion. - Introduced helper functions for regex and mux template parsing. - Added unit tests covering various path parameter scenarios. - Provided test fixtures for classic to OAS migration. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>operation.go</strong><dd><code>Enhance path parameter migration in OAS operations.</code> </dd></summary> <hr> apidef/oas/operation.go <li>Added import for regexp and httputil.<br> <li> Refactored splitPath with empty path check.<br> <li> Introduced parsePathSegment, parseMuxTemplate, and isIdentifier.<br> <li> Improved regex detection and parameter naming. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-6d92d2d5b09a5fa7129609bb7cd0d383d015250ec07062b6a93a83257be51fb5">+49/-18</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>operation_test.go</strong><dd><code>Add unit tests for splitPath functionality.</code> </dd></summary> <hr> apidef/oas/operation_test.go <li>Added TestSplitPath covering diverse scenarios.<br> <li> Verified correct parsing for simple, regex, and mux templates.<br> <li> Ensured empty and root paths are handled. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-cd234db716d6d2edc97c135ef546021c9ab4fa9282d63964bd155d41635cf964">+72/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>path_params.yml</strong><dd><code>Add path params test fixture for OAS migration.</code> </dd></summary> <hr> apidef/oas/testdata/fixtures/path_params.yml <li>Created YAML fixtures for classic path parameter migration.<br> <li> Defined multiple test cases with varied input patterns.<br> <li> Mapped expected outputs for both simple and regex parameters. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-0368200f5970a6c4e9bbfa2bb67a2af7568412926cf37d42a65579ef9bea4570">+144/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> (cherry picked from commit 2deca99)
@edsonmichaque Succesfully merged PR |
/release to release-5.8 |
Working on it! Note that it can take a few minutes. |
### **User description** <details open> <summary><a href="https://tyktech.atlassian.net/browse/TT-7815" title="TT-7815" target="_blank">TT-7815</a></summary> <br /> <table> <tr> <th>Summary</th> <td>Cannot migrate API with endpoints containing path parameter </td> </tr> <tr> <th>Type</th> <td> <img alt="Bug" src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium" /> Bug </td> </tr> <tr> <th>Status</th> <td>In Dev</td> </tr> <tr> <th>Points</th> <td>N/A</td> </tr> <tr> <th>Labels</th> <td><a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20DoD_Fail%20ORDER%20BY%20created%20DESC" title="DoD_Fail">DoD_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20QA_Fail%20ORDER%20BY%20created%20DESC" title="QA_Fail">QA_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20Re_open%20ORDER%20BY%20created%20DESC" title="Re_open">Re_open</a></td> </tr> </table> </details> <!-- do not remove this marker as it will break jira-lint's functionality. added_by_jira_lint --> --- <!-- Provide a general summary of your changes in the Title above --> ## Description <!-- Describe your changes in detail --> This PR makes sure that path params are successfully migrated from Classic to OAS ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> https://tyktech.atlassian.net/browse/TT-7815 ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ### **PR Type** - Bug fix - Enhancement - Tests ___ ### **Description** - Refactored path splitting logic for OAS conversion. - Introduced helper functions for regex and mux template parsing. - Added unit tests covering various path parameter scenarios. - Provided test fixtures for classic to OAS migration. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>operation.go</strong><dd><code>Enhance path parameter migration in OAS operations.</code> </dd></summary> <hr> apidef/oas/operation.go <li>Added import for regexp and httputil.<br> <li> Refactored splitPath with empty path check.<br> <li> Introduced parsePathSegment, parseMuxTemplate, and isIdentifier.<br> <li> Improved regex detection and parameter naming. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-6d92d2d5b09a5fa7129609bb7cd0d383d015250ec07062b6a93a83257be51fb5">+49/-18</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>operation_test.go</strong><dd><code>Add unit tests for splitPath functionality.</code> </dd></summary> <hr> apidef/oas/operation_test.go <li>Added TestSplitPath covering diverse scenarios.<br> <li> Verified correct parsing for simple, regex, and mux templates.<br> <li> Ensured empty and root paths are handled. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-cd234db716d6d2edc97c135ef546021c9ab4fa9282d63964bd155d41635cf964">+72/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>path_params.yml</strong><dd><code>Add path params test fixture for OAS migration.</code> </dd></summary> <hr> apidef/oas/testdata/fixtures/path_params.yml <li>Created YAML fixtures for classic path parameter migration.<br> <li> Defined multiple test cases with varied input patterns.<br> <li> Mapped expected outputs for both simple and regex parameters. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-0368200f5970a6c4e9bbfa2bb67a2af7568412926cf37d42a65579ef9bea4570">+144/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details> (cherry picked from commit 2deca99)
@edsonmichaque Succesfully merged PR |
…o OAS (#6966) [TT-7815] ensure path params are migrated to OAS (#6966) ### **User description** <details open> <summary><a href="https://tyktech.atlassian.net/browse/TT-7815" title="TT-7815" target="_blank">TT-7815</a></summary> <br /> <table> <tr> <th>Summary</th> <td>Cannot migrate API with endpoints containing path parameter </td> </tr> <tr> <th>Type</th> <td> <img alt="Bug" src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium" /> Bug </td> </tr> <tr> <th>Status</th> <td>In Dev</td> </tr> <tr> <th>Points</th> <td>N/A</td> </tr> <tr> <th>Labels</th> <td><a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20DoD_Fail%20ORDER%20BY%20created%20DESC" title="DoD_Fail">DoD_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20QA_Fail%20ORDER%20BY%20created%20DESC" title="QA_Fail">QA_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20Re_open%20ORDER%20BY%20created%20DESC" title="Re_open">Re_open</a></td> </tr> </table> </details> <!-- do not remove this marker as it will break jira-lint's functionality. added_by_jira_lint --> --- <!-- Provide a general summary of your changes in the Title above --> ## Description <!-- Describe your changes in detail --> This PR makes sure that path params are successfully migrated from Classic to OAS ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> https://tyktech.atlassian.net/browse/TT-7815 ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ### **PR Type** - Bug fix - Enhancement - Tests ___ ### **Description** - Refactored path splitting logic for OAS conversion. - Introduced helper functions for regex and mux template parsing. - Added unit tests covering various path parameter scenarios. - Provided test fixtures for classic to OAS migration. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>operation.go</strong><dd><code>Enhance path parameter migration in OAS operations.</code> </dd></summary> <hr> apidef/oas/operation.go <li>Added import for regexp and httputil.<br> <li> Refactored splitPath with empty path check.<br> <li> Introduced parsePathSegment, parseMuxTemplate, and isIdentifier.<br> <li> Improved regex detection and parameter naming. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-6d92d2d5b09a5fa7129609bb7cd0d383d015250ec07062b6a93a83257be51fb5">+49/-18</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>operation_test.go</strong><dd><code>Add unit tests for splitPath functionality.</code> </dd></summary> <hr> apidef/oas/operation_test.go <li>Added TestSplitPath covering diverse scenarios.<br> <li> Verified correct parsing for simple, regex, and mux templates.<br> <li> Ensured empty and root paths are handled. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-cd234db716d6d2edc97c135ef546021c9ab4fa9282d63964bd155d41635cf964">+72/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>path_params.yml</strong><dd><code>Add path params test fixture for OAS migration.</code> </dd></summary> <hr> apidef/oas/testdata/fixtures/path_params.yml <li>Created YAML fixtures for classic path parameter migration.<br> <li> Defined multiple test cases with varied input patterns.<br> <li> Mapped expected outputs for both simple and regex parameters. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-0368200f5970a6c4e9bbfa2bb67a2af7568412926cf37d42a65579ef9bea4570">+144/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details>
…OAS (#6966) [TT-7815] ensure path params are migrated to OAS (#6966) ### **User description** <details open> <summary><a href="https://tyktech.atlassian.net/browse/TT-7815" title="TT-7815" target="_blank">TT-7815</a></summary> <br /> <table> <tr> <th>Summary</th> <td>Cannot migrate API with endpoints containing path parameter </td> </tr> <tr> <th>Type</th> <td> <img alt="Bug" src="https://tyktech.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium" /> Bug </td> </tr> <tr> <th>Status</th> <td>In Dev</td> </tr> <tr> <th>Points</th> <td>N/A</td> </tr> <tr> <th>Labels</th> <td><a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20DoD_Fail%20ORDER%20BY%20created%20DESC" title="DoD_Fail">DoD_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20QA_Fail%20ORDER%20BY%20created%20DESC" title="QA_Fail">QA_Fail</a>, <a href="https://tyktech.atlassian.net/issues?jql=project%20%3D%20TT%20AND%20labels%20%3D%20Re_open%20ORDER%20BY%20created%20DESC" title="Re_open">Re_open</a></td> </tr> </table> </details> <!-- do not remove this marker as it will break jira-lint's functionality. added_by_jira_lint --> --- <!-- Provide a general summary of your changes in the Title above --> ## Description <!-- Describe your changes in detail --> This PR makes sure that path params are successfully migrated from Classic to OAS ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> https://tyktech.atlassian.net/browse/TT-7815 ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ### **PR Type** - Bug fix - Enhancement - Tests ___ ### **Description** - Refactored path splitting logic for OAS conversion. - Introduced helper functions for regex and mux template parsing. - Added unit tests covering various path parameter scenarios. - Provided test fixtures for classic to OAS migration. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>operation.go</strong><dd><code>Enhance path parameter migration in OAS operations.</code> </dd></summary> <hr> apidef/oas/operation.go <li>Added import for regexp and httputil.<br> <li> Refactored splitPath with empty path check.<br> <li> Introduced parsePathSegment, parseMuxTemplate, and isIdentifier.<br> <li> Improved regex detection and parameter naming. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-6d92d2d5b09a5fa7129609bb7cd0d383d015250ec07062b6a93a83257be51fb5">+49/-18</a> </td> </tr> </table></td></tr><tr><td><strong>Tests</strong></td><td><table> <tr> <td> <details> <summary><strong>operation_test.go</strong><dd><code>Add unit tests for splitPath functionality.</code> </dd></summary> <hr> apidef/oas/operation_test.go <li>Added TestSplitPath covering diverse scenarios.<br> <li> Verified correct parsing for simple, regex, and mux templates.<br> <li> Ensured empty and root paths are handled. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-cd234db716d6d2edc97c135ef546021c9ab4fa9282d63964bd155d41635cf964">+72/-0</a> </td> </tr> <tr> <td> <details> <summary><strong>path_params.yml</strong><dd><code>Add path params test fixture for OAS migration.</code> </dd></summary> <hr> apidef/oas/testdata/fixtures/path_params.yml <li>Created YAML fixtures for classic path parameter migration.<br> <li> Defined multiple test cases with varied input patterns.<br> <li> Mapped expected outputs for both simple and regex parameters. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6966/files#diff-0368200f5970a6c4e9bbfa2bb67a2af7568412926cf37d42a65579ef9bea4570">+144/-0</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > <details> <summary> Need help?</summary><li>Type <code>/help how to ...</code> in the comments thread for any questions about PR-Agent usage.</li><li>Check out the <a href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a> for more information.</li></details>
User description
TT-7815
Description
This PR makes sure that path params are successfully migrated from Classic to OAS
Related Issue
https://tyktech.atlassian.net/browse/TT-7815
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
PR Type
Description
Refactored path splitting logic for OAS conversion.
Introduced helper functions for regex and mux template parsing.
Added unit tests covering various path parameter scenarios.
Provided test fixtures for classic to OAS migration.
Changes walkthrough 📝
operation.go
Enhance path parameter migration in OAS operations.
apidef/oas/operation.go
operation_test.go
Add unit tests for splitPath functionality.
apidef/oas/operation_test.go
path_params.yml
Add path params test fixture for OAS migration.
apidef/oas/testdata/fixtures/path_params.yml