openapi-format
Version:
Format an OpenAPI document by ordering, formatting and filtering fields.
77 lines (76 loc) • 1.79 kB
JSON
{
"name": "openapi-format",
"version": "1.25.2",
"description": "Format an OpenAPI document by ordering, formatting and filtering fields.",
"keywords": [
"openapi",
"openapi3",
"format",
"sort",
"order",
"filter",
"convert",
"rename",
"case",
"generate",
"overlay",
"cli"
],
"homepage": "https://github.com/thim81/openapi-format#readme",
"bugs": "https://github.com/thim81/openapi-format/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/thim81/openapi-format.git"
},
"license": "MIT",
"author": "Tim Haselaars",
"main": "openapi-format.js",
"types": "types/openapi-format.d.ts",
"bin": {
"openapi-format": "bin/cli.js"
},
"scripts": {
"test": "jest --colors --verbose --reporters=default --collectCoverage --no-cache --maxWorkers=2",
"lint": "npx prettier --write '**/*.js'",
"release": "npx np --branch main"
},
"dependencies": {
"@stoplight/yaml": "^4.3.0",
"api-ref-bundler": "^0.4.3",
"case-anything": "2.1.10",
"commander": "^7.2.0",
"jsonpath-plus": "^10.3.0",
"neotraverse": "^0.6.18"
},
"devDependencies": {
"jest": "^29.7.0",
"openapi-types": "^12.1.3"
},
"engines": {
"node": ">=18"
},
"files": [
"README.md",
"CHANGELOG.md",
"LICENSE",
"openapi-format.js",
"utils/casing.js",
"utils/convert.js",
"utils/file.js",
"utils/filtering.js",
"utils/logging.js",
"utils/overlay.js",
"utils/parseTpl.js",
"utils/sorting.js",
"utils/split.js",
"utils/types.js",
"defaultFilter.json",
"defaultSort.json",
"defaultSortComponents.json",
"types/openapi-format.d.ts",
"package-lock.json"
],
"directories": {
"test": "test"
}
}