@@ -9,11 +9,11 @@ set -euo pipefail
99# OPENAPI_FILE_NAME - name of the openapi specification file
1010# OPENAPI_FOLDER - folder where openapi file is saved
1111# TMP_FOLDER - folder for temporary files during transformations
12- # TOKEN_URL_ENV - client credentials auth path to set at the environment level, will not be set if unpopulated
13- # TOGGLE_INCLUDE_BODY - bool for if generated bodies should be removed or kept
14- # TOGGLE_ADD_DOCS_LINKS - updates requests with corresponding docs links
1512# VERSION_FILE_NAME - name of the file where the current version is stored
1613# DESCRIPTION_FILE - name for the markdown description file
14+ # TOGGLE_INCLUDE_BODY - bool for if generated bodies should be removed or kept
15+ # TOGGLE_ADD_DOCS_LINKS - updates requests with corresponding docs links
16+ # TOKEN_URL_ENV - client credentials auth path to set at the environment level, will not be set if unpopulated
1717# BASE_URL - the default base url the Postman Collection will use
1818# ########################################################
1919
@@ -23,13 +23,12 @@ OPENAPI_FILE_NAME=${OPENAPI_FILE_NAME:-"atlas-api.json"}
2323OPENAPI_FOLDER=${OPENAPI_FOLDER:- " ../openapi" }
2424TMP_FOLDER=${TMP_FOLDER:- " ../tmp" }
2525VERSION_FILE_NAME=${VERSION_FILE_NAME:- " version.txt" }
26+ DESCRIPTION_FILE=${DESCRIPTION_FILE:- " ../collection-description.md" }
2627
27- TOGGLE_UPDATE_DOCS_LINKS=${TOGGLE_UPDATE_DOCS_LINKS:- false}
2828TOGGLE_INCLUDE_BODY=${TOGGLE_INCLUDE_BODY:- true}
2929TOGGLE_ADD_DOCS_LINKS=${TOGGLE_ADD_DOCS_LINKS:- true}
3030TOKEN_URL_ENV=${TOKEN_URL_ENV:- " " }
3131
32- DESCRIPTION_FILE=${DESCRIPTION_FILE:- " ../collection-description.md" }
3332current_api_revision=$( < " $OPENAPI_FOLDER /$VERSION_FILE_NAME " )
3433
3534pushd " ${TMP_FOLDER} "
0 commit comments