[X] I've searched existing issues and found nothing related to my issue.
Describe the bug
Currently, routes imported from OpenAPI v3 sometimes have a leading slash /, leading to duplicate slashes // when combined with {{baseUrl}}. This requires manual removal of the leading slash in the environment settings. Implementing an automatic check to strip the leading slash from routes during import will prevent this issue and ensure consistent URLs without manual intervention.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
Request Route - Initial route setup:
Imported Environment - Verifying {{baseUrl}} from the environment file:
Slash Example - Showing the trailing slash in {{baseUrl}}:
Final Problem - Resulting in URLs with a duplicate //:
I have checked the following:
Describe the bug
Currently, routes imported from OpenAPI v3 sometimes have a leading slash
/
, leading to duplicate slashes//
when combined with{{baseUrl}}
. This requires manual removal of the leading slash in the environment settings. Implementing an automatic check to strip the leading slash from routes during import will prevent this issue and ensure consistent URLs without manual intervention..bru file to reproduce the bug
No response
Screenshots/Live demo link
Request Route - Initial route setup:
Imported Environment - Verifying
{{baseUrl}}
from the environment file:Slash Example - Showing the trailing slash in
{{baseUrl}}
:Final Problem - Resulting in URLs with a duplicate
//
: