{"id":27043995,"url":"https://github.com/erwinkramer/ado-spectral","last_synced_at":"2026-05-14T23:03:33.844Z","repository":{"id":286148799,"uuid":"960310795","full_name":"erwinkramer/ado-spectral","owner":"erwinkramer","description":"Azure Pipelines Spectral Lint Task","archived":false,"fork":false,"pushed_at":"2025-08-12T18:49:38.000Z","size":24213,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-01T18:43:53.488Z","etag":null,"topics":["api","apim","linter","linting","openapi","openapi3","spectral"],"latest_commit_sha":null,"homepage":"https://www.guanchen.nl","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erwinkramer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-04T08:03:49.000Z","updated_at":"2025-08-12T18:49:42.000Z","dependencies_parsed_at":"2025-04-04T16:50:46.952Z","dependency_job_id":"23069ecf-1f9d-4858-ba72-a200539a036c","html_url":"https://github.com/erwinkramer/ado-spectral","commit_stats":null,"previous_names":["erwinkramer/ado-spectral"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erwinkramer/ado-spectral","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erwinkramer%2Fado-spectral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erwinkramer%2Fado-spectral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erwinkramer%2Fado-spectral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erwinkramer%2Fado-spectral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erwinkramer","download_url":"https://codeload.github.com/erwinkramer/ado-spectral/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erwinkramer%2Fado-spectral/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273886630,"owners_count":25185509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","apim","linter","linting","openapi","openapi3","spectral"],"created_at":"2025-04-05T05:17:46.280Z","updated_at":"2026-05-14T23:03:33.840Z","avatar_url":"https://github.com/erwinkramer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Pipelines Spectral Lint Task 👒\r\n\r\n[![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]\r\n![GitHub commit activity](https://img.shields.io/github/commit-activity/m/erwinkramer/ado-spectral)\r\n\r\n## Introduction\r\n\r\nThis is the repo for the source code of the [Spectral Lint Task](https://marketplace.visualstudio.com/items?itemName=erwinkramer.SpectralLint) in the Visual Studio Marketplace.\r\n\r\n## Status\r\n\r\nCurrently there is only a version `0`, that has been minimally tested.\r\n\r\n## Building and local testing\r\n\r\n```powershell\r\ncd tasks/SpectralLintTaskV0\r\n\r\n$env:INPUT_ruleset=\".spectral/demo-ruleset.yaml\"\r\n$env:INPUT_definition=\"https://petstore3.swagger.io/api/v3/openapi.json\"\r\n$env:INPUT_failSeverity=\"error\"\r\n$env:INPUT_outputFilePath=\".spectral/demo-lint-report.json\"\r\n$env:INPUT_outputFormat=\"json\"\r\n\r\ntsc\r\nnode index.js\r\n```\r\n\r\n## Releasing\r\n\r\n1. Update the version numbers at [vss-extension.json](/vss-extension.json) and [task.json](/tasks/SpectralLintTaskV0/task.json).\r\n2. Create the extension file (requires `npm i -g tfx-cli`):\r\n\r\n    ```bash\r\n    tfx extension create --manifest-globs vss-extension.json --output-path releases\r\n    ```\r\n\r\n3. [Add to the marketplace](https://marketplace.visualstudio.com/manage/publishers/erwinkramer).\r\n\r\n## Design\r\n\r\nFollows [tips from Travis Illig](https://www.paraesthesia.com/archive/2020/02/25/tips-for-custom-azure-devops-build-tasks/).\r\n\r\n## License\r\n\r\nThis work is licensed under a\r\n[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].\r\n\r\n[![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa]\r\n\r\n[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/\r\n[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png\r\n[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwinkramer%2Fado-spectral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferwinkramer%2Fado-spectral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwinkramer%2Fado-spectral/lists"}