mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
This commit is contained in:
parent
dc21206fc0
commit
73ac969d35
@ -386,7 +386,7 @@ const parseOpenApiCollection = (data) => {
|
|||||||
.map(([method, operationObject]) => {
|
.map(([method, operationObject]) => {
|
||||||
return {
|
return {
|
||||||
method: method,
|
method: method,
|
||||||
path: path,
|
path: path.replace(/{([^}]+)}/g, ':$1'), // Replace placeholders enclosed in curly braces with colons
|
||||||
operationObject: operationObject,
|
operationObject: operationObject,
|
||||||
global: {
|
global: {
|
||||||
server: baseUrl,
|
server: baseUrl,
|
||||||
|
Loading…
Reference in New Issue
Block a user