Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
983 changes: 983 additions & 0 deletions docs.html

Large diffs are not rendered by default.

1,011 changes: 1,011 additions & 0 deletions redoc-static.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions scripts/modify-pm-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Modify PM Collection
* + adds variables
* + variables' values read from openAPI spec yaml file
*
*
* Specify optionally:
* -i PM Collection to be modified
* -a openAPI spec yaml file
Expand All @@ -23,7 +23,7 @@ console.log("Reading auths from examples in " + apiSpecFile);

var specToken, specPK;
try {
specPK = apiSpec.components.schemas.CaptureRequest.example.publicKey;
specPK = apiSpec.components.schemas.GenerateHashRequest.example.publicKey;
specToken =
apiSpec.components.schemas.GenerateEncryptedSecretKeyResponse.example.data
.EncrytedSecKey.encryptedKey;
Expand All @@ -34,7 +34,7 @@ try {
console.log("Token: " + specToken);
console.log("Username (Public Key): " + specPK);

console.log("Reading converted PM Collection " + pmInputFile)
console.log("Reading converted PM Collection " + pmInputFile);
var convertedPMC = JSON.parse(fs.readFileSync(pmInputFile).toString());

convertedPMC.variable = [
Expand Down
Loading
Loading