Skip to content

Commit 5b0001c

Browse files
committed
chore: build the generator from chat's tools/openapi
1 parent 36fd4ad commit 5b0001c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎generate.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ fi
1919
set -ex
2020

2121
# cd in API repo, generate new spec and then generate code from it
22-
( cd $SOURCE_PATH ; make openapi ; ./build/chat-manager openapi generate-client --language ruby --spec ./releases/v2/serverside-api.yaml --output $DST_PATH )
22+
( cd $SOURCE_PATH ; make openapi ; make -C tools/openapi build ; ./build/openapi generate-client --language ruby --spec ./releases/v2/serverside-api.yaml --output $DST_PATH )
2323

2424
# Generate webhook conformance fixtures (CHA-2961)
25-
( cd $SOURCE_PATH ; ./build/chat-manager openapi generate-webhook-fixtures --output $DST_PATH/test/fixtures/webhooks )
25+
( cd $SOURCE_PATH ; ./build/openapi generate-webhook-fixtures --output $DST_PATH/test/fixtures/webhooks )
2626

2727
# Fix any potential issues in generated code
2828
echo "Applying Ruby-specific fixes..."

0 commit comments

Comments
 (0)