fix prettier error

This commit is contained in:
Yuliya Bagriy 2023-10-24 09:16:30 +06:00 committed by GitHub
parent 2f9762da0e
commit ba3db06ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,7 +328,9 @@ const parseOpenApiCollection = (data) => {
.map(([path, methods]) => {
return Object.entries(methods)
.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]) => {
return {