Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LhonRafaat committed Oct 14, 2024
1 parent d01c686 commit 69dd2b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,15 @@ to run the seeder ts-node the seed.ts file and you can pass how many data to gen
ts-node seed.ts 50
```

to generate the client routes from the swagger run:

```shell
npm run generate:api-client
```

this will run `npm run generate:swagger && openapi-generator-cli generate -i swagger.json -g typescript-fetch -o ./src/api-client`
adjust it to your needs for example if you dont want it to compile to `./src/api-client`

to run the Dockerfile:

```shell
Expand Down

0 comments on commit 69dd2b0

Please sign in to comment.