{"id":20522417,"url":"https://github.com/openapi-generators/openapitools-generator-action","last_synced_at":"2026-01-25T07:37:20.578Z","repository":{"id":43455069,"uuid":"332067644","full_name":"openapi-generators/openapitools-generator-action","owner":"openapi-generators","description":"Generate a client library using the OpenAPITools Generator","archived":false,"fork":false,"pushed_at":"2025-11-17T22:52:27.000Z","size":63,"stargazers_count":54,"open_issues_count":7,"forks_count":18,"subscribers_count":1,"default_branch":"v1","last_synced_at":"2025-11-18T00:19:16.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Mustache","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/openapi-generators.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":"2021-01-22T21:34:52.000Z","updated_at":"2025-10-13T19:18:27.000Z","dependencies_parsed_at":"2023-01-05T13:21:29.309Z","dependency_job_id":"078a4f17-4f36-42e3-8520-023726efc3a1","html_url":"https://github.com/openapi-generators/openapitools-generator-action","commit_stats":{"total_commits":35,"total_committers":8,"mean_commits":4.375,"dds":"0.37142857142857144","last_synced_commit":"4caa5f82310027a6a8af217865cf4ac79a832593"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/openapi-generators/openapitools-generator-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openapi-generators%2Fopenapitools-generator-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openapi-generators%2Fopenapitools-generator-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openapi-generators%2Fopenapitools-generator-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openapi-generators%2Fopenapitools-generator-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openapi-generators","download_url":"https://codeload.github.com/openapi-generators/openapitools-generator-action/tar.gz/refs/heads/v1","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openapi-generators%2Fopenapitools-generator-action/sbom","scorecard":{"id":708799,"data":{"date":"2025-08-11","repo":{"name":"github.com/openapi-generators/openapitools-generator-action","commit":"cf6587e7cc576c2bd7071b2ad6b30f6f8e54ef00"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"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":"Maintained","score":0,"reason":"1 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":"Code-Review","score":2,"reason":"Found 5/18 approved changesets -- score normalized to 2","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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/checks.yml:1","Info: no jobLevel write permissions found"],"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:74: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/checks.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/checks.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/openapi-generators/openapitools-generator-action/checks.yml/v1?enable=pin","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   9 third-party GitHubAction dependencies pinned"],"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":"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":"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":"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":"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":"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 'v1'"],"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 22 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-22T07:32:25.861Z","repository_id":43455069,"created_at":"2025-08-22T07:32:25.862Z","updated_at":"2025-08-22T07:32:25.862Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28747724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-15T22:35:25.918Z","updated_at":"2026-01-25T07:37:20.563Z","avatar_url":"https://github.com/openapi-generators.png","language":"Mustache","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openapitools-generator-action\nGenerate a client library from an OpenAPI document using the [OpenAPITools Generator](https://github.com/OpenAPITools/openapi-generator)\n\n## Inputs\n\n### `generator`\n\nThe generator you wish to use (i.e. the language you want to generate a client library for). See [the official list of supported languages/generators](https://openapi-generator.tech/docs/generators) and [the openapi-generator repo](https://github.com/OpenAPITools/openapi-generator) for more info.\n\n### `config-file`\n\nThe path to the config file to be used with `openapi-generator`. Paths that do not start with `/` are assumed to be relative to the root of the repository. \n\nFor information on what can be configured, see [the page on customization in the repo](https://github.com/OpenAPITools/openapi-generator/blob/master/docs/customization.md).\n\n### `openapi-file`\n\nThe path to the OpenAPI document (both JSON and YAML are supported). Defaults to \"openapi.json\" (i.e. a file in the current directory called openapi.json). Paths that do not start with `/` are assumed to be relative to the root of the repository.\n\n### `openapi-url`\n\nThe URL to load the OpenAPI document from. If set, `openapi-file` will be ignored.\n\n### `docker-repository`\n\nThe Docker repository uses as source for  `docker-image`. Defaults to `docker.io`.\n\n### `docker-image`\n\nThe Docker image used by the generator. Defaults to `openapitools/openapi-generator-cli`.\n\n### `generator-tag`\n\nThe Docker tag of the openapitools/openapi-generator-cli image to use. See [the DockerHub repo](https://hub.docker.com/r/openapitools/openapi-generator-cli/tags) for available tags.\n\n### `template-dir`\n\nThe path to the folder containing the template files. Paths that do not start with `/` are assumed to be relative to the root of the repository. \n\nSee user-defined [templates](https://openapi-generator.tech/docs/templating#modifying-templates) via options.\n\n### `command-args`\n\nAdditional arguments to pass through to the [generate](https://openapi-generator.tech/docs/usage#generate) command.\n\n## Outputs\n\nNo outputs are returned. The generated client is placed in the current directory. The name of the package (unless configured differently) will be `generator-name-client` where \"generator-name\" is (unsurprisingly) the name of the generator used to generate the client.\n\n## Example usage\n```yaml\njobs:\n  generate-angular-client:\n    runs-on: ubuntu-latest\n    name: Example\n    steps:\n\n      # Checkout your code\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Generate your OpenAPI document (if you don't write it manually)\n\n      # Use the action to generate a client package\n      # This uses the default path for the openapi document and thus assumes there is an openapi.json in the current workspace.\n      - name: Generate Angular Client\n        uses: openapi-generators/openapitools-generator-action@v1\n        with:\n          generator: typescript-angular\n          config-file: angular-generator-config.yml\n\n      # Do something with the generated client (likely publishing it somewhere)\n      - name: Do something with the client\n        run: |\n          cd typescript-angular-client\n```\n\n## Template example usage\n```yaml\njobs:\n  generate-angular-client:\n    runs-on: ubuntu-latest\n    name: Example\n    steps:\n\n      # Checkout your code\n      - name: Checkout\n        uses: actions/checkout@v2\n\n      # Generate your OpenAPI document (if you don't write it manually)\n\n      # Use the action to generate a client package\n      # This uses the default path for the openapi document and thus assumes there is an openapi.json in the current workspace.\n      - name: Generate Angular Client\n        uses: openapi-generators/openapitools-generator-action@v1\n        with:\n          generator: typescript-angular\n          config-file: angular-generator-config.yml\n          template-dir: templates/typescript-angular\n\n      # Do something with the generated client (likely publishing it somewhere)\n      - name: Do something with the client\n        run: |\n          cd typescript-angular-client\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenapi-generators%2Fopenapitools-generator-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenapi-generators%2Fopenapitools-generator-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenapi-generators%2Fopenapitools-generator-action/lists"}