Skip to content

Commit 74fc3db

Browse files
committed
adding additional info on generate
1 parent bb89caa commit 74fc3db

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

update.sh

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,29 @@
11
#!/bin/bash
22

3-
rm -rvf ./client/src \
4-
&& wget http://localhost:3001/js/swagger.json -O /tmp/fastcomments-openapi.json \
3+
rm -rf lib/Api
4+
rm -rf lib/Model
5+
rm -rf docs/Api
6+
rm -rf docs/Model
7+
rm -rf test/Api
8+
rm -rf test/Model
9+
10+
rm wget http://localhost:3001/js/swagger.json -O /tmp/fastcomments-openapi.json \
511
&& openapi-generator-cli generate \
612
-i /tmp/fastcomments-openapi.json \
713
-g php \
814
-o . \
9-
--additional-properties=useSingleRequestParameter=true
15+
--additional-properties=useSingleRequestParameter=true \
16+
--additional-properties=artifactDescription="FastComments PHP API Client - A SDK for interacting with the FastComments API" \
17+
--additional-properties=artifactUrl="https://fastcomments.com" \
18+
--additional-properties=licenseName="MIT" \
19+
--additional-properties=infoEmail="support@fastcomments.com" \
20+
--additional-properties=invokerPackage="FastComments\\Client" \
21+
--additional-properties=packageName="fastcomments/client" \
22+
--additional-properties=apiPackage="Api" \
23+
--additional-properties=modelPackage="Model" \
24+
--additional-properties=developerName="FastComments LLC" \
25+
--additional-properties=developerEmail="support@fastcomments.com" \
26+
--additional-properties=developerOrganization="FastComments" \
27+
--additional-properties=developerOrganizationUrl="https://fastcomments.com" \
28+
--additional-properties=gitRepoId="fastcomments-php" \
29+
--additional-properties=authorizeHint="The FastComments API uses two types of endpoints: DefaultApi which requires an API key for authentication, and PublicApi which can be accessed without authentication (often from browsers/client SDKs using SSO)."

0 commit comments

Comments
 (0)