Skip to content

Commit

Permalink
Fix curl DTO documentation in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
wparad committed May 10, 2022
1 parent 8a65064 commit 5a44855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@ const response = await client.get(url, { 'Authorization': `Bearer: ${temporarySe
### Adding new DTO and methods
Auto generate the new code using this openapi generator, and merge the files into the appropriate locations:
```bash
warren@palladium:~/git/authress/authress-sdk.js (release/1.2)$ curl -XPOST https://generator3.swagger.io/api/generate -H 'content-type: application/json' -d '{"specURL" : "https://api.authress.io/.well-known/openapi.json","lang" : "typescript-fetch","type" : "CLIENT","codegenVersion" : "V3"}' --output generated_sdk.tar.gz
curl -XPOST https://generator3.swagger.io/api/generate -H 'content-type: application/json' -d '{"specURL" : "https://api.authress.io/.well-known/openapi.json","lang" : "typescript-fetch","type" : "CLIENT","codegenVersion" : "V3"}' --output generated_sdk.tar.gz

```

0 comments on commit 5a44855

Please sign in to comment.