"", "license": "ISC", "scripts": { "lint": "spectral lint 'openapi.yaml'", "lint:ci": "spectral lint --format github-actions -F warn 'openapi.yaml'", "check": "prettier --check .", "fix": "prettier --write .", "build": "redocly build-docs -o ./dist/index.html ./openapi.yaml", "generate:typescript": "openapi-generator-cli generate -i openapi.yaml -g typescript-axios -o generated/ts" }, "devDependencies": { "@openapitools/openapi-generator-cli": "^2.13.4", "@redocly/cli": "^1.13.0", "@stoplight/spectral-cli": "^6.11.1", "prettier": "^3.2.5" } } YAMLを指定して TypeScriptの スキーマを生成 package.json