Skip to content

Commit c768f35

Browse files
committed
4565: Applied coding standards
1 parent 5d874fe commit c768f35

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

assets/shared/redux/openapi-config.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const config = {
2-
schemaFile: '../../../public/api-spec-v2.json',
3-
apiFile: './empty-api.ts',
4-
apiImport: 'emptySplitApi',
5-
outputFile: './generated-api.ts',
6-
exportName: 'api',
2+
schemaFile: "../../../public/api-spec-v2.json",
3+
apiFile: "./empty-api.ts",
4+
apiImport: "emptySplitApi",
5+
outputFile: "./generated-api.ts",
6+
exportName: "api",
77
hooks: true,
88
tag: true,
99
endpointOverrides: [
@@ -12,11 +12,11 @@ const config = {
1212
parameterFilter: (_name, parameter) => {
1313
// Filter out parameters from OpenAPI specification that results in
1414
// invalid javascript with duplicate query parameters.
15-
return !([
16-
"createdBy",
17-
"modifiedBy",
18-
"supportedFeedOutputType",
19-
].includes(_name) && parameter.style === 'deepObject');
15+
return !(
16+
["createdBy", "modifiedBy", "supportedFeedOutputType"].includes(
17+
_name,
18+
) && parameter.style === "deepObject"
19+
);
2020
},
2121
},
2222
],

0 commit comments

Comments
 (0)