File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 11const 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 ] ,
You can’t perform that action at this time.
0 commit comments