This PR fixes the problem of parsing / when importing openApi spec yaml #3116 .
We introduce changes as per specs from open API as base URL not ending with / and rather the path begins with / . Also if the base URL are not provided, then baseUrl is set to /.
Can find more details here https://swagger.io/docs/specification/api-host-and-base-path/
Result after changes:
Contribution Checklist:
[ x] The pull request only addresses one issue or adds one feature.
[ x] The pull request does not introduce any breaking changes
[x ] I have added screenshots or gifs to help explain the change if applicable.
[ x] Create an issue and link to the pull request.
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Description
This PR fixes the problem of parsing / when importing openApi spec yaml #3116 .
We introduce changes as per specs from open API as base URL not ending with
/
and rather the path begins with/
. Also if the base URL are not provided, then baseUrl is set to/
. Can find more details here https://swagger.io/docs/specification/api-host-and-base-path/Result after changes:
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.