{"id":31918113,"url":"https://github.com/evilurge/openapivalidator","last_synced_at":"2025-10-13T20:56:24.280Z","repository":{"id":38807420,"uuid":"190641297","full_name":"evilUrge/openAPIValidator","owner":"evilUrge","description":"Test your openapispecs","archived":false,"fork":false,"pushed_at":"2023-01-09T11:41:58.000Z","size":551,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-05-27T19:01:12.825Z","etag":null,"topics":["openapi","openapi-validation"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evilUrge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-06T19:54:33.000Z","updated_at":"2024-05-27T19:01:12.826Z","dependencies_parsed_at":"2023-02-08T10:15:26.254Z","dependency_job_id":null,"html_url":"https://github.com/evilUrge/openAPIValidator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/evilUrge/openAPIValidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilUrge%2FopenAPIValidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilUrge%2FopenAPIValidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilUrge%2FopenAPIValidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilUrge%2FopenAPIValidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evilUrge","download_url":"https://codeload.github.com/evilUrge/openAPIValidator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evilUrge%2FopenAPIValidator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016909,"owners_count":26085912,"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-10-13T02:00:06.723Z","response_time":61,"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":["openapi","openapi-validation"],"created_at":"2025-10-13T20:56:08.235Z","updated_at":"2025-10-13T20:56:24.275Z","avatar_url":"https://github.com/evilUrge.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"openAPIValidator - Validate your openapi spec like a _boss_\n-----------------------------------------------------------\n\n\u003ca href=\"https://codeclimate.com/github/evilUrge/openAPIValidator/maintainability\"\u003e\u003cimg src=\"https://api.codeclimate.com/v1/badges/562791ecf358c2f97c23/maintainability\" /\u003e\u003c/a\u003e\n\nMicroservice that runs set of tests on an exposed openapispecs of a microservice (as part of [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md)).\n\n## Prerequisites:\n* Node ^v8\n* Firebase service account\n\n## Before running\nAs we have 2 separate environments in this setup, edit `/config/production.json` and `development.json` based on your project configurations:\n* Go to the main project overview tab `https://console.firebase.google.com/u/0/project/\u003cyour-firebase-project-id\u003e/overview`, click on *\"Add app\"* and then chose *\"Web\"* (`html-head` icon), copy the content of the var `config` after the key `FirebaseConf` in the selected configuration file.\n* Generate a private key from: `https://console.firebase.google.com/u/0/project/\u003cyour-firebase-project-id\u003e/settings/serviceaccounts/adminsdk` and paste it under the key \"FirebaseAdminSDK\".\nWhen executing from dev env use the env_param `NODE_ENV=DEV`.\n\n## Time to test your microservice (by method)\n- **GET:** http://localhost:3000/v1/execute?url=https://host.tld/v1/api-docs\n- **POST:** http://localhost:3000/v1/execute body: `{url:https://host.tld/v1/api-docs}`\n\n## How to deploy\n- First install all node dependencies: `npm i`\n- Make sure you have firebase tools installed in your global: `npm i -g firebase-tools`\n- And deploy via: `firebase deploy --only functions`\n\n\n## How to extend\nHow you ask? Easy!\nAdd to the following following func `module.exports.syntaxValidator.validators` (in `src/utils.js`) your desired new validator and link it to an external function\n###### Example:\n\n```javascript\nexampleForAValidator : ()=\u003eyourFunctionallityGoesHere),\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilurge%2Fopenapivalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilurge%2Fopenapivalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilurge%2Fopenapivalidator/lists"}