Skip to content

Commit

Permalink
Merge pull request #1874 from bosch-io/fix/rest-doc-not-found
Browse files Browse the repository at this point in the history
REST DOC HTMLs not found when browsing the Management API and DDI API…
  • Loading branch information
denislavprinov authored Oct 7, 2024
2 parents a8ef586 + 37cf40b commit 19f6f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/build-htmls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [ $? != 0 ]; then
fi

# Execute the npx command
npx @redocly/cli build-docs ${CURRENT_DIR}/content/rest-api/mgmt.yaml -o ${CURRENT_DIR}/content/rest-api/mgmt.html
npx @redocly/cli build-docs ${CURRENT_DIR}/content/rest-api/mgmt.yaml -o ${CURRENT_DIR}/static/rest-api/mgmt.html

if [ $? != 0 ]; then
echo "[ERROR] Failed to execute the Redoc CLI command form MGMT API."
Expand All @@ -31,7 +31,7 @@ else
fi

# Execute the npx command
npx @redocly/cli build-docs ${CURRENT_DIR}/content/rest-api/ddi.yaml -o ${CURRENT_DIR}/content/rest-api/ddi.html
npx @redocly/cli build-docs ${CURRENT_DIR}/content/rest-api/ddi.yaml -o ${CURRENT_DIR}/static/rest-api/ddi.html

if [ $? != 0 ]; then
echo "[ERROR] Failed to execute the Redoc CLI command form DDI API."
Expand Down

0 comments on commit 19f6f2a

Please sign in to comment.