Skip to content

Commit

Permalink
url correction
Browse files Browse the repository at this point in the history
  • Loading branch information
manishkrprasad committed Jun 12, 2020
1 parent 8c74188 commit 6eec75e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions swagger_sdk_gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ if $Build_Codegen ; then
fi
if [ "$Branch" = "snapshot" ]
then
url="http://crm-nightly-new.cc.capillarytech.com/swagger.json"
version="http://crm-nightly-new.cc.capillarytech.com/version.json"
url="https://intouch-api-swagger.crm-nightly-new.cc.capillarytech.com/swagger.json"
version="https://api.crm-nightly-new.cc.capillarytech.com/version"
elif [ "$Branch" = "production" ]
then
url="http://newapi.staging.capillary.in/swagger.json"
Expand Down
8 changes: 4 additions & 4 deletions swagger_sdk_gen_v3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ if $Build_Codegen ; then
fi
if [ "$Branch" = "snapshot" ]
then
url="http://crm-nightly-new.cc.capillarytech.com/tl-docs/v2/api-docs"
version="https://crm-nightly-new.cc.capillarytech.com/v3/meta/version"
url="https://intouch-api-v3-swagger.crm-nightly-new.cc.capillarytech.com/v2/api-docs"
version="https://intouch-api-v3-swagger.crm-nightly-new.cc.capillarytech.com/v3/meta/version"
elif [ "$Branch" = "production" ]
then
url="http://crm-nightly-new.cc.capillarytech.com/tl-docs/v2/api-docs"
version="https://crm-nightly-new.cc.capillarytech.com/v3/meta/version"
url="http://newapi.staging.capillary.in/tl-docs/v2/api-docs"
version="http://newapi.staging.capillary.in/v3/meta/version"
else " No Branch is selected"
fi
curl -k $version -o config.json
Expand Down
8 changes: 4 additions & 4 deletions swagger_sdk_gen_v3_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ if $Build_Codegen ; then
fi
if [ "$Branch" = "snapshot" ]
then
url="http://crm-nightly-new.cc.capillarytech.com/tl-docs-test/v2/api-docs"
version="https://crm-nightly-new.cc.capillarytech.com/v3test/meta/version"
url="https://intouch-api-v3-swagger.crm-nightly-new.cc.capillarytech.com/tl-docs-test/v2/api-docs"
version="https://intouch-api-v3-swagger.crm-nightly-new.cc.capillarytech.com/v3test/meta/version"
elif [ "$Branch" = "production" ]
then
url="http://crm-nightly-new.cc.capillarytech.com/tl-docs-test/v2/api-docs"
version="https://crm-nightly-new.cc.capillarytech.com/v3test/meta/version"
url="http://newapi.staging.capillary.in/tl-docs-test/v2/api-docs"
version="http://newapi.staging.capillary.in/v3test/meta/version"
else " No Branch is selected"
fi
curl -k $version -o config.json
Expand Down

0 comments on commit 6eec75e

Please sign in to comment.