Skip to content

Commit 0ce8249

Browse files
authored
DX-2748 Remove unused code (#309)
It's been moved to api-specification repo
1 parent bb14b55 commit 0ce8249

18 files changed

+0
-20539
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,8 @@ yarn prepare
1616

1717
API clients are generated using `@openapitools/openapi-generator-cli`. They are generated based on the API specifications defined in the `spec.json` file.
1818

19-
Specification file are loaded from `api-specification` repository which is supposed to be in the same parent directory as this repository. \
20-
The `update-spec` command loads separate OpenAPI specification files and merges them into a single file. \
21-
The `./scripts/fetch-spec.mjs` script will pull the yaml files from `api-specification` repository. \
2219
Each endpoint in the specification must have a unique `operationId`, because the client method names are derived from it.
2320

24-
To update the `spec.json` specs file, run the following command:
25-
26-
```bash
27-
yarn update-spec
28-
```
29-
3021
## Generate the `miro-api` client
3122

3223
To generate the `miro-api` client, run the following command:

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"apps/*"
1111
],
1212
"scripts": {
13-
"update-spec": "scripts/update-spec.ts",
1413
"build": "yarn workspace generator generate && yarn workspace @mirohq/miro-api build",
1514
"dev": "yarn workspace client-test-app dev",
1615
"pretest": "yarn build",
@@ -24,15 +23,13 @@
2423
"dependencies": {
2524
"fast-glob": "^3.3.2",
2625
"jest": "^29.7.0",
27-
"js-yaml": "^4.1.0",
2826
"lodash": "^4.17.21",
2927
"prettier": "^2.8.7",
3028
"tsx": "^4.7.0"
3129
},
3230
"devDependencies": {
3331
"@mirohq/prettier-config": "^2.0.0",
3432
"@types/jest": "^29.5.11",
35-
"@types/js-yaml": "^4.0.9",
3633
"@types/lodash": "^4.14.202",
3734
"esbuild": "^0.20.0",
3835
"esbuild-jest": "^0.5.0",

scripts/update-spec.ts

Lines changed: 0 additions & 310 deletions
This file was deleted.

0 commit comments

Comments
 (0)