代码拉取完成,页面将自动刷新
{
"name": "mdclub-openapi",
"description": "MDClub 的 OpenAPI 描述文件",
"version": "1.0.2",
"homepage": "https://www.mdclub.org/api",
"author": "zdhxiong",
"repository": {
"type": "git",
"url": "https://github.com/zdhxiong/mdclub-openapi"
},
"scripts": {
"build": "node index.js",
"validate": "npm run build && spectral lint -s=operation-operationId-unique dist/openapi.yaml",
"mock": "npm run build && prism mock dist/openapi.yaml",
"build-php-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g php -o dist/php --skip-validate-spec",
"build-android-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g android -o dist/android --skip-validate-spec",
"build-dart-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g dart -o dist/dart --skip-validate-spec",
"build-objc-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g objc -o dist/objc --skip-validate-spec",
"build-swift4-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g swift4 -o dist/swift4 --skip-validate-spec",
"build-aurelia-sdk": "npm run build && npx openapi-generator generate -i dist/openapi.yaml -g typescript-aurelia --additional-properties=modelPropertyNaming=original -o dist/aurelia --skip-validate-spec"
},
"files": [
"dist/openapi.json",
"dist/openapi.yaml",
"src",
"LICENSE",
"package.json",
"README.md"
],
"bugs": {
"url": "https://github.com/zdhxiong/mdclub-openapi/issues",
"email": "zdhxiong@gmail.com"
},
"license": "MIT",
"dependencies": {},
"engines": {
"node": ">=12"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^1.0.15-4.3.1",
"@stoplight/prism-cli": "^3.3.6",
"@stoplight/spectral": "^5.4.0",
"js-yaml": "^3.14.0",
"json-refs": "^3.0.15"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。