mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-18 10:41:09 +01:00
fix prettier error
This commit is contained in:
parent
2f9762da0e
commit
ba3db06ac6
@ -328,7 +328,9 @@ const parseOpenApiCollection = (data) => {
|
|||||||
.map(([path, methods]) => {
|
.map(([path, methods]) => {
|
||||||
return Object.entries(methods)
|
return Object.entries(methods)
|
||||||
.filter(([method, op]) => {
|
.filter(([method, op]) => {
|
||||||
return ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'].includes(method.toLowerCase());
|
return ['get', 'put', 'post', 'delete', 'options', 'head', 'patch', 'trace'].includes(
|
||||||
|
method.toLowerCase()
|
||||||
|
);
|
||||||
})
|
})
|
||||||
.map(([method, operationObject]) => {
|
.map(([method, operationObject]) => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user