Skip to content

Commit

Permalink
chore: use tags for open api
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Jan 17, 2023
1 parent 5490be0 commit 1c3f687
Show file tree
Hide file tree
Showing 6 changed files with 6,214 additions and 5,819 deletions.
3,419 changes: 1,725 additions & 1,694 deletions _site/index.html

Large diffs are not rendered by default.

314 changes: 314 additions & 0 deletions _site/templatemark/index.html

Large diffs are not rendered by default.

5,704 changes: 2,847 additions & 2,857 deletions index.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions merge.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ const merged = {

merged.paths = mergedPaths;
merged.info.title = 'Accord Protocol';
merged.info.description = 'API for document generation and agreement automation';
fs.writeFileSync('./openapi.json', JSON.stringify(merged, null, 2));
14 changes: 9 additions & 5 deletions openapi-extra-paths.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"operationId": "convertAgreementPdf",
"summary": "Convert agreement to PDF",
"description": "Converts an existing `agreement` to PDF."
"description": "Converts an existing `agreement` to PDF.",
"tags": ["agreements"]
},
"parameters": [
{
Expand Down Expand Up @@ -65,7 +66,8 @@
},
"operationId": "triggerAgreement",
"summary": "Trigger an agreement",
"description": "Sends data to an existing agreement."
"description": "Sends data to an existing agreement.",
"tags": ["agreements"]
},
"parameters": [
{
Expand Down Expand Up @@ -97,7 +99,8 @@
},
"operationId": "agreementState",
"summary": "Get the state of an agreement",
"description": "Gets the runtime state of an agreement."
"description": "Gets the runtime state of an agreement.",
"tags": ["agreements"]
},
"parameters": [
{
Expand Down Expand Up @@ -127,9 +130,10 @@
"description": "Successful response - returns `capabilities` for the server."
}
},
"operationId": "capabilities",
"operationId": "getCapabilities",
"summary": "Get server capabilities",
"description": "Retrieve the supported features of the server."
"description": "Retrieve the supported features of the server.",
"tags": ["capabilities"]
}
}
}
Expand Down
Loading

0 comments on commit 1c3f687

Please sign in to comment.