mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-23 12:45:38 +00:00
Add support for integer and boolean in OpenAPI to Bruno converter (#4734)
This commit is contained in:
@@ -27,6 +27,10 @@ const buildEmptyJsonBody = (bodySchema, visited = new Map()) => {
|
||||
} else {
|
||||
_jsonBody[name] = [];
|
||||
}
|
||||
} else if (prop.type === 'integer') {
|
||||
_jsonBody[name] = 0;
|
||||
} else if (prop.type === 'boolean') {
|
||||
_jsonBody[name] = false;
|
||||
} else {
|
||||
_jsonBody[name] = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user