{"id":24614671,"url":"https://github.com/casantosmu/openapi-scan","last_synced_at":"2025-05-07T00:06:06.185Z","repository":{"id":213576681,"uuid":"734128563","full_name":"casantosmu/openapi-scan","owner":"casantosmu","description":"CLI tool for validating OpenAPI definitions","archived":false,"fork":false,"pushed_at":"2025-01-13T19:04:23.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-07T00:05:05.349Z","etag":null,"topics":["cli","json","openapi","openapi3","swagger","validation","validator","yaml"],"latest_commit_sha":null,"homepage":"","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/casantosmu.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}},"created_at":"2023-12-21T00:05:00.000Z","updated_at":"2025-02-02T19:35:35.000Z","dependencies_parsed_at":"2023-12-21T19:46:02.915Z","dependency_job_id":"418d57d1-7465-49d3-b553-91e0879b5a5f","html_url":"https://github.com/casantosmu/openapi-scan","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.4782608695652174,"last_synced_commit":"ab22c98dcf67593a3c8afcfc1f8d1e2cd63576dd"},"previous_names":["casantosmu/openapi-scan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casantosmu%2Fopenapi-scan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casantosmu%2Fopenapi-scan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casantosmu%2Fopenapi-scan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casantosmu%2Fopenapi-scan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casantosmu","download_url":"https://codeload.github.com/casantosmu/openapi-scan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788521,"owners_count":21804285,"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":["cli","json","openapi","openapi3","swagger","validation","validator","yaml"],"created_at":"2025-01-24T21:17:51.170Z","updated_at":"2025-05-07T00:06:06.164Z","avatar_url":"https://github.com/casantosmu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openapi-scan\n\n## Overview\n\n`openapi-scan` is a command-line interface (CLI) tool designed to validate Swagger 2.0 or OpenAPI 3.0 definitions in JSON or YAML format. Leveraging the power of [@apidevtools/swagger-parser](https://www.npmjs.com/package/@apidevtools/swagger-parser), this tool ensures that your API specifications adhere to the standard.\n\n## Features\n\n- **Validation:** Ensures your Swagger 2.0 or OpenAPI 3.0 definitions are syntactically correct and adhere to the specified standards.\n- **CLI Convenience:** Easily validate API definitions using standard input, a local file, or a URL.\n- **Versatility:** Supports both JSON and YAML formats for API definitions.\n\n## Installation\n\nTo use `openapi-scan`, first, install the package via npm:\n\n```bash\nnpm install -g openapi-scan\n```\n\n## Usage\n\n### Validate from Standard Input\n\n```bash\ncat openapi.json | openapi-scan\n```\n\n### Validate from Local File\n\n```bash\nopenapi-scan openapi.json\n```\n\n### Validate from URL\n\n```bash\nopenapi-scan http://localhost:3000/openapi.json\n```\n\n## Contributing\n\nFeel free to contribute by submitting issues or pull requests on the [GitHub repository](https://github.com/casantosmu/openapi-scan).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasantosmu%2Fopenapi-scan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasantosmu%2Fopenapi-scan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasantosmu%2Fopenapi-scan/lists"}