Skip to content

Commit 0e83ff2

Browse files
committed
updated readme
1 parent bdd47ec commit 0e83ff2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ Following command can be used to generate DTOs and Api clients for the [nem2-sdk
9595
$ brew install openapi-generator
9696
$ openapi-generator generate -i ./swagger2.yaml -g typescript-node -t templates/ -o ./nem2-ts-sdk/ && rm -R nem2-ts-sdk/test
9797
```
98+
** Note openapi-generator is also available on docker. (`https://hub.docker.com/r/openapitools/openapi-generator`)
9899
4. As the generator doesn't recognize `enum` type alias, we need to manually move enum classes in to the `enumsMap` list.
99100
- Open generated file `./nem2-ts-sdk/model/models.ts` in editor
100101
- Search for line contains `let enumsMap: {[index: string]: any}`.

0 commit comments

Comments
 (0)