From 5a448551e4174b459109b8cfc21fa0601ba5c4f5 Mon Sep 17 00:00:00 2001 From: Warren Parad Date: Tue, 10 May 2022 21:19:57 +0200 Subject: [PATCH] Fix curl DTO documentation in readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 073ac9c..d09419c 100644 --- a/README.md +++ b/README.md @@ -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 ```