Skip to content

Commit

Permalink
[E4E-30]: Typo inception
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCleric committed Nov 22, 2021
1 parent 17195db commit 4fef9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generateRoutes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function generateTypes(apiPath: string, filePath: string): Promise<
export function generateTypescript(api: OpenAPI.Document, typeImportLocation: string): string {
let generatedTSEndpoints =
'/**\n* This file was auto-generated by the generateRoutes endpoint generator.\n* Do not make direct changes to the file.\n' +
`* To update this file run \`npx apollo-rest_utils <swagger_definition> <directory_of_this_file>\`\n*/\n\n`;
`* To update this file run \`npx apollo-rest-utils <swagger_definition> <directory_of_this_file>\`\n*/\n\n`;
generatedTSEndpoints += `import {operations} from '${typeImportLocation}'\n\nimport { IRestEndpoint} from 'apollo-rest-utils';\n\n\n`;
// Create an object representing routes by method, e.g., { 'get': {}, ... }
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
Expand Down

0 comments on commit 4fef9ae

Please sign in to comment.