{"id":5803410,"name":"swimmwatch/openapi-diff-action","ecosystem":"actions","description":"A GitHub Action to identify differences between OpenAPI specifications. It uses OpenAPITools/openapi-diff.","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/swimmwatch/openapi-diff-action","keywords_array":["github-actions","openapi","openapi-spec"],"namespace":"swimmwatch","versions_count":3,"first_release_published_at":"2022-05-06T10:01:33.000Z","latest_release_published_at":"2025-01-02T13:04:47.000Z","latest_release_number":"v2.0.0","last_synced_at":"2026-06-02T22:01:19.552Z","created_at":"2023-01-04T14:29:04.633Z","updated_at":"2026-06-02T22:03:09.050Z","registry_url":"https://github.com/swimmwatch/openapi-diff-action","install_command":null,"documentation_url":null,"metadata":{"name":"OpenAPI Diff Action","author":"Dmitry Vasiliev","description":"A GitHub Action to identify differences between OpenAPI specifications. It uses OpenAPITools/openapi-diff.","branding":{"icon":"check-square","color":"blue"},"inputs":{"old-spec":{"description":"Old specification filename","required":true},"new-spec":{"description":"New specification filename","required":true},"header":{"description":"Use given header for authorization","required":false,"default":""},"query":{"description":"Use query param for authorization","required":false,"default":""},"log":{"description":"Use given level for log (TRACE, DEBUG, INFO, WARN, ERROR, OFF)","required":false,"default":"ERROR"},"markdown":{"description":"Export diff as markdown in given file","required":false,"default":".tmp/markdown"},"json":{"description":"Export diff as JSON in given file","required":false,"default":".tmp/json"},"text":{"description":"Export diff as text in given file","required":false,"default":".tmp/text"},"html":{"description":"Export diff as HTML in given file","required":false,"default":".tmp/html"},"fail-on":{"description":"Fail if API changed but is backward compatible ('changed' value) or changes broke backward compatibility ('incompatible' value)","required":false,"default":""}},"outputs":{"state":{"description":"Output diff state: no_changes, incompatible, compatible","value":"${{steps.state.outputs.compare_state}}"}},"runs":{"using":"composite","steps":[{"name":"Run openapi-diff tool","run":"docker run -v \"$(pwd):/specs\" --rm openapitools/openapi-diff:2.0.1 \\\n  /specs/${{inputs.old-spec}} \\\n  /specs/${{inputs.new-spec}} \\\n  `if [[ ${{inputs.header}} != '' ]]; then --header ${{inputs.header}}; fi` \\\n  `if [[ ${{inputs.query}} != '' ]]; then --query ${{inputs.query}}; fi` \\\n  `if [[ ${{inputs.fail-on}} != '' ]]; then --fail-on-${{inputs.fail-on}}; fi` \\\n  --log ${{inputs.log}} \\\n  --markdown /specs/${{inputs.markdown}} \\\n  --json /specs/${{inputs.json}} \\\n  --text /specs/${{inputs.text}} \\\n  --html /specs/${{inputs.html}}\n","shell":"bash"},{"name":"Read output JSON file","id":"output_json_file","uses":"juliangruber/read-file-action@v1","with":{"path":"${{inputs.json}}"}},{"name":"Detect compare state","id":"state","run":"compatible_val=\"${{fromJson(steps.output_json_file.outputs.content).compatible}}\"\nincompatible_val=\"${{fromJson(steps.output_json_file.outputs.content).incompatible}}\"\nunchanged_val=\"${{fromJson(steps.output_json_file.outputs.content).unchanged}}\"\n\nif [[ $unchanged_val == 'true' ]]; then\n  echo \"::set-output name=compare_state::no_changes\"\nelif [[ $incompatible_val == 'true' ]]; then\n  echo \"::set-output name=compare_state::incompatible\"\nelif [[ $compatible_val == 'true' ]]; then\n  echo \"::set-output name=compare_state::compatible\"\nfi\n","shell":"bash"},{"name":"Check file existence","id":"check_files","uses":"andstor/file-existence-action@v3","with":{"files":".tmp"}},{"name":"Post: Change folder own group","if":"steps.check_files.outputs.files_exists == 'true'","run":"sudo chown -R $USER:$USER .tmp","shell":"bash"},{"name":"Post: Remove .tmp directory","if":"steps.check_files.outputs.files_exists == 'true'","run":"rm -fr .tmp","shell":"bash"}]},"default_branch":"master","path":null},"repo_metadata":{"id":48177980,"uuid":"489279079","full_name":"swimmwatch/openapi-diff-action","owner":"swimmwatch","description":"A GitHub Action to identify differences between OpenAPI specifications. It uses OpenAPITools/openapi-diff.","archived":false,"fork":false,"pushed_at":"2025-01-02T13:05:55.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-11T17:52:04.774Z","etag":null,"topics":["github-actions","openapi","openapi-spec"],"latest_commit_sha":null,"homepage":"","language":null,"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/swimmwatch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-05-06T08:37:53.000Z","updated_at":"2025-12-02T12:16:40.000Z","dependencies_parsed_at":"2024-09-11T19:55:20.611Z","dependency_job_id":"14e5e2c9-edb2-49d1-b07d-fe38c10d7391","html_url":"https://github.com/swimmwatch/openapi-diff-action","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.1428571428571429,"last_synced_commit":"a9a966a5a59dead3cf82d3b88b7ef3543ac41f6a"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/swimmwatch/openapi-diff-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swimmwatch","download_url":"https://codeload.github.com/swimmwatch/openapi-diff-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/sbom","scorecard":{"id":862076,"data":{"date":"2025-08-11","repo":{"name":"github.com/swimmwatch/openapi-diff-action","commit":"8b170034bfbf0129e1157e5f45a328f2cbff1300"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T01:35:45.014Z","repository_id":48177980,"created_at":"2025-08-24T01:35:45.014Z","updated_at":"2025-08-24T01:35:45.014Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33838221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"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"},"owner_record":{"login":"swimmwatch","name":"Dmitry Vasiliev","uuid":"18121771","kind":"user","description":"Python Software Engineer.","email":"","website":"https://t.me/contact_vasiliev_dmitry","location":"Moscow","twitter":"swimmwatch","company":null,"icon_url":"https://avatars.githubusercontent.com/u/18121771?u=817b14f6751c4c11c51e53484b3beb65932f63d6\u0026v=4","repositories_count":10,"last_synced_at":"2023-03-03T23:24:41.692Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/swimmwatch","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T06:34:36.502Z","updated_at":"2023-03-03T23:24:41.702Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swimmwatch","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swimmwatch/repositories"},"tags":[{"name":"v2.0.0","sha":"8b170034bfbf0129e1157e5f45a328f2cbff1300","kind":"commit","published_at":"2025-01-02T13:04:47.000Z","download_url":"https://codeload.github.com/swimmwatch/openapi-diff-action/tar.gz/v2.0.0","html_url":"https://github.com/swimmwatch/openapi-diff-action/releases/tag/v2.0.0","dependencies_parsed_at":"2025-04-16T07:43:14.938Z","dependency_job_id":null,"purl":"pkg:github/swimmwatch/openapi-diff-action@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v2.0.0/manifests"},{"name":"v1.0.1","sha":"cbab3cbcbd5c46f97419f5063dfc0d4900212784","kind":"commit","published_at":"2022-07-22T09:12:09.000Z","download_url":"https://codeload.github.com/swimmwatch/openapi-diff-action/tar.gz/v1.0.1","html_url":"https://github.com/swimmwatch/openapi-diff-action/releases/tag/v1.0.1","dependencies_parsed_at":"2023-05-31T14:20:50.066Z","dependency_job_id":null,"purl":"pkg:github/swimmwatch/openapi-diff-action@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"5a24f17c2ad5ca015127f48807df9890d3f02bcf","kind":"commit","published_at":"2022-05-06T10:01:33.000Z","download_url":"https://codeload.github.com/swimmwatch/openapi-diff-action/tar.gz/v1.0.0","html_url":"https://github.com/swimmwatch/openapi-diff-action/releases/tag/v1.0.0","dependencies_parsed_at":"2023-05-31T14:20:50.491Z","dependency_job_id":null,"purl":"pkg:github/swimmwatch/openapi-diff-action@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-06-02T22:03:09.050Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":3,"rankings":{"downloads":null,"dependent_repos_count":18.04468388527967,"dependent_packages_count":0.0,"stargazers_count":22.94406591665346,"forks_count":16.178101727143083,"docker_downloads_count":null,"average":14.291712882269053},"purl":"pkg:githubactions/swimmwatch/openapi-diff-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/swimmwatch/openapi-diff-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/swimmwatch/openapi-diff-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/swimmwatch/openapi-diff-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-04-11T23:00:34.592Z","issues_count":1,"pull_requests_count":8,"avg_time_to_close_issue":29291.0,"avg_time_to_close_pull_request":3666947.75,"issues_closed_count":1,"pull_requests_closed_count":8,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":8,"bot_issues_count":0,"bot_pull_requests_count":2,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":10.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/swimmwatch%2Fopenapi-diff-action/issues","maintainers":[{"login":"swimmwatch","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/swimmwatch"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/swimmwatch%2Fopenapi-diff-action/codemeta","maintainers":[]}