We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76b2b0 commit 95fd1d2Copy full SHA for 95fd1d2
generate.sh
@@ -13,13 +13,16 @@ then
13
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
14
-i /local/api.json \
15
-g python \
16
+ --library asyncio \
17
-o /local/$1-client \
18
-DpackageName=pulpcore.client.$1 \
19
-DprojectName=$1-client \
- -DpackageVersion=${VERSION}
20
+ -DpackageVersion=${VERSION} \
21
--skip-validate-spec
22
cp python/__init__.py $1-client/pulpcore/
23
cp python/__init__.py $1-client/pulpcore/client
24
+ find $1-client/ -type f | xargs sed -i 's/\/{/{/g'
25
+
26
fi
27
if [ $2 = 'ruby' ]
28
then
@@ -30,7 +33,9 @@ then
30
33
31
34
-DgemName=$1_client \
32
35
-DgemLicense="GPLv2" \
- -DgemVersion=${VERSION}
36
+ -DgemVersion=${VERSION} \
37
+ --skip-validate-spec
38
39
40
41
rm api.json
0 commit comments