diff --git a/.spectral.mjs b/.spectral.mjs new file mode 100644 index 0000000..0a32787 --- /dev/null +++ b/.spectral.mjs @@ -0,0 +1,2 @@ +import ruleset from "https://stoplight.io/api/v1/projects/cHJqOjE4NzgwOA/spectral.js?branch_slug=main&token=1c4d01cb-5ad4-463f-be84-11b533c2775d"; +export default { extends: ruleset }; \ No newline at end of file diff --git a/.stoplight/styleguide.json b/.stoplight/styleguide.json new file mode 100644 index 0000000..447528d --- /dev/null +++ b/.stoplight/styleguide.json @@ -0,0 +1,34 @@ +{ + "name": "Stat_tracker_server", + "description": "", + "spectralExtends": [], + "extends": [ + "cHJqOjEyMzU4Ng" + ], + "formats": [ + "oas2", + "oas3", + "oas3.0", + "oas3.1" + ], + "aliases": {}, + "rules": {}, + "extendedStyleguides": [ + { + "id": "cHJqOjEyMzU4Ng", + "name": "Stoplight Style Guide", + "slug": "stoplight-style-guide", + "workspace": { + "slug": "apistylebook", + "name": "API Stylebook" + }, + "icon": "robot", + "color": "#3898ff", + "description": "Default rules for Stoplight projects", + "latestRelease": { + "release": 37 + } + } + ], + "extendedDefault": true +} \ No newline at end of file