From 6c928cebc38d1880683ca7a644991b86747bbc66 Mon Sep 17 00:00:00 2001 From: HavenDV Date: Sun, 7 Jul 2024 13:41:19 +0400 Subject: [PATCH] refactor: Updated generate.sh. --- src/libs/OpenAI/generate.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libs/OpenAI/generate.sh b/src/libs/OpenAI/generate.sh index ba83f70f..67e7ce16 100755 --- a/src/libs/OpenAI/generate.sh +++ b/src/libs/OpenAI/generate.sh @@ -6,4 +6,8 @@ if [ $? -ne 0 ]; then echo "Failed, exiting..." exit 1 fi -oag generate openapi.yaml --namespace OpenAI -c OpenAiApi -o Generated -t net8.0 \ No newline at end of file +oag generate openapi.yaml \ + --namespace OpenAI \ + --clientClassName OpenAiApi \ + --targetFramework net8.0 \ + --output Generated \ No newline at end of file