{"id":14986629,"url":"https://github.com/slate-io/swagger-spec-validator","last_synced_at":"2026-01-03T18:50:48.726Z","repository":{"id":83898312,"uuid":"78969509","full_name":"slate-io/swagger-spec-validator","owner":"slate-io","description":":100: Validate the integrity of your Swagger API specifications within your CI","archived":false,"fork":false,"pushed_at":"2017-02-07T06:30:32.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-26T12:26:29.126Z","etag":null,"topics":["continuous-integration","swagger","swagger-spec","swagger-specification","swagger-validator"],"latest_commit_sha":null,"homepage":"http://slate-io.com/slate/swagger/ci/2017/01/16/Adding-Swagger-Specification-Validation/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slate-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2017-01-14T22:07:20.000Z","updated_at":"2022-11-02T01:26:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"10031106-0ec0-493f-a10d-3d2f727b81cf","html_url":"https://github.com/slate-io/swagger-spec-validator","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.6,"last_synced_commit":"b5a54b91a8268e9025a7eb1ca285774aec89e873"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slate-io%2Fswagger-spec-validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slate-io%2Fswagger-spec-validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slate-io%2Fswagger-spec-validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slate-io%2Fswagger-spec-validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slate-io","download_url":"https://codeload.github.com/slate-io/swagger-spec-validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244836039,"owners_count":20518365,"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","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":["continuous-integration","swagger","swagger-spec","swagger-specification","swagger-validator"],"created_at":"2024-09-24T14:13:15.202Z","updated_at":"2026-01-03T18:50:48.701Z","avatar_url":"https://github.com/slate-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swagger-spec-validator [![Build Status](https://img.shields.io/travis/slate-io/swagger-spec-validator.svg?style=flat-square)](https://travis-ci.org/slate-io/swagger-spec-validator) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo) [![Docker Pulls](https://img.shields.io/docker/pulls/slate/swagger-spec-validator.svg?style=flat-square)](https://hub.docker.com/r/slate/swagger-spec-validator/)\n\nValidate and ensure the integrity of your Swagger API specifications to any existing repository, all within a few steps.\n\n## Usage\n\n\u003e Swagger files **must** match the filename format: `*.swagger.json` |  `*.swagger.yaml` |  `*.swagger.yml`\n\nPull the Docker image from the registry, and follow the steps below to validate:\n\n```\n$ docker pull slate/swagger-spec-validator\n$ cd /YOUR_PROJECT_WITH_SPECS\n$ docker run -it -e \"SPEC_PATH=$SPEC_PATH\" -v $SPEC_PATH:/data --name spec-validator slate/swagger-spec-validator:latest\n$ docker logs $(docker ps -lq)\n```\n\n\nThe output of the command should yield: `The command \"docker logs $(docker ps -lq)\" exited with 0.`\n\n### Travis CI\n\nCopy the [`.travis.yml`](https://github.com/slate-io/swagger-spec-validator/blob/master/.travis.yml) file into the root of the repository containing your Swagger specifications. The directory structure of the project should resemble the following structure:\n\n```\n.\n├── .travis.yml\n├── LICENSE\n└── cisco\n    └── ios\n        └── 12_4_0\n            └── 2017-01-15.swagger.json\n            └── 2017-01-15.swagger.yml\n        └── 12_4_1\n            └── 2017-02-15.swagger.json\n            └── 2017-02-15.swagger.yml\n```\n\nAn example repository can be found at [Slate-io Specs](https://github.com/slate-io/specifications).\n\n## License\n\nMIT © [Slate-io Team](https://github.com/slate-io)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslate-io%2Fswagger-spec-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslate-io%2Fswagger-spec-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslate-io%2Fswagger-spec-validator/lists"}