Skip to content

Commit

Permalink
Merge pull request #6 from nrccua/E4E-30
Browse files Browse the repository at this point in the history
[E4E-30]: Fix typo
  • Loading branch information
TheCleric authored Nov 22, 2021
2 parents 3ebd56f + 55ba637 commit 967c124
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.0.13](https://github.com/nrccua/apollo-rest-utils/compare/1.0.12...1.0.13) (2021-11-22)


### Changes

* [E4E-30]: Typo inception ([4fef9ae](https://github.com/nrccua/apollo-rest-utils/commit/4fef9ae4d34446801259ad4ea4992fbed1c6dcc2))
* [E4E-30]: 1.0.12 ([17195db](https://github.com/nrccua/apollo-rest-utils/commit/17195db1caaea1f94c3586a644975fa2581e54bc))

### [1.0.12](https://github.com/nrccua/apollo-rest-utils/compare/1.0.11...1.0.12) (2021-11-22)


### Changes

* [E4E-30]: Fix typo ([72a57dc](https://github.com/nrccua/apollo-rest-utils/commit/72a57dc81a3426811cfd680fd1398e934505ceb1))
* [E4E-30]: 1.0.11 ([d6c1039](https://github.com/nrccua/apollo-rest-utils/commit/d6c1039ca24d04227e48edee6849b2d6eb97e9d5))

### [1.0.11](https://github.com/nrccua/apollo-rest-utils/compare/1.0.10...1.0.11) (2021-11-21)


Expand Down
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 `npm run updatee:endpoints`\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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
"test:unit": "NODE_ENV=test jest --silent --coverage",
"update:version": "standard-version"
},
"version": "1.0.11"
"version": "1.0.13"
}

0 comments on commit 967c124

Please sign in to comment.