Skip to content

Commit 3441992

Browse files
authored
Update openapi-ts command to use correct paramaters (#7215)
1 parent 7622606 commit 3441992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16/umbraco-cms/customizing/foundation/fetching-data/custom-generated-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npm install @hey-api/openapi-ts
2525
Then, use the `openapi-ts` command to generate a client from your OpenAPI specification:
2626

2727
```bash
28-
npx openapi-ts generate --url https://example.com/openapi.json --output ./my-client
28+
npx openapi-ts --input https://example.com/openapi.json --output ./my-client
2929
```
3030

3131
This will generate a TypeScript client in the `./my-client` folder. Import the generated client into your project to make requests to the Management API.

0 commit comments

Comments
 (0)