diff --git a/src/index.js b/src/index.js
index 435bd79b02a78a05ebae3aba8d364fb6a9b70ec0..c38f7d66ed695406be83a19665a67f8a4e31d320 100644
--- a/src/index.js
+++ b/src/index.js
@@ -31,6 +31,7 @@ const PRIVATE_TOKEN = process.env.GITLAB_API_TOKEN;
  *
  * @param {*} externalLocation the URL for the raw openapi spec file.
  * @param {*} localPath the location where the downloaded spec should be saved
+ * @param {boolean} isPrivate optional, whether an external spec is in a private GitLab repository and should use secret token for access
  */
 async function pullExternalSpec(externalLocation, localPath, isPrivate = false) {
   let retries = 0;