Skip to content

Commit

Permalink
Fetch openapi spec for Matrix client-server API
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Aug 8, 2023
1 parent bc048c1 commit 02b81f1
Show file tree
Hide file tree
Showing 3 changed files with 18,654 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,11 @@ module.exports = {
"@typescript-eslint/explicit-member-accessibility": "off",
},
},
{
files: ["src/@types/matrix-client-server.d.ts"],
rules: {
"tsdoc/syntax": "off",
},
},
],
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"lint:types": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "yarn test --coverage"
"coverage": "yarn test --coverage",
"fetch-openapi": "openapi-typescript https://spec.matrix.org/latest/client-server-api/api.json --output src/@types/matrix-client-server.d.ts"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 02b81f1

Please sign in to comment.