Skip to content

Commit 87f4bd9

Browse files
authored
chore: add code samples and localise links on updates to OpenAPI files (#575)
* feat: add Github Action for localising dev docs links * feat: add code samples to openapi files * feat: add workflows for en and jp branches
1 parent 9bc2ecc commit 87f4bd9

File tree

10 files changed

+1171
-3
lines changed

10 files changed

+1171
-3
lines changed

.github/scripts/add-code-samples.ts

Lines changed: 541 additions & 0 deletions
Large diffs are not rendered by default.

.github/scripts/package-lock.json

Lines changed: 294 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/scripts/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "box-openapi-scripts",
3+
"version": "1.0.0",
4+
"description": "Scripts for Box OpenAPI specification",
5+
"scripts": {
6+
"replace-links": "ts-node replace-links.ts",
7+
"add-code-samples": "ts-node add-code-samples.ts"
8+
},
9+
"devDependencies": {
10+
"simple-git": "3.21.0",
11+
"@types/node": "20.10.0",
12+
"ts-node": "10.9.2",
13+
"typescript": "5.3.3"
14+
}
15+
}
16+

0 commit comments

Comments
 (0)