Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Commit

Permalink
Add params info to the custom generator
Browse files Browse the repository at this point in the history
  • Loading branch information
fabien0102 committed Jan 28, 2020
1 parent e5b1ca6 commit a7b6803
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bin/restful-react-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export type AdvancedOptions = Options & {
description: string;
genericsTypes: string;
operation: OperationObject;
paramsInPath: string[];
paramsTypes: string;
}) => string;
};

Expand Down
2 changes: 2 additions & 0 deletions src/scripts/import-open-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ ${description}export const use${componentName} = (${
route,
description,
genericsTypes,
paramsInPath,
paramsTypes,
operation,
});
}
Expand Down

0 comments on commit a7b6803

Please sign in to comment.