{"id":41982866,"url":"https://github.com/oapicf/swaggy-c","last_synced_at":"2026-02-28T04:05:08.567Z","repository":{"id":66257565,"uuid":"88591855","full_name":"oapicf/swaggy-c","owner":"oapicf","description":"Builder for OpenAPIGenerator-generated API clients in multiple languages","archived":false,"fork":false,"pushed_at":"2026-01-24T04:45:53.000Z","size":629,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-24T05:40:59.366Z","etag":null,"topics":["makefile","openapi","openapi-generator"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oapicf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-04-18T06:49:50.000Z","updated_at":"2026-01-24T04:45:56.000Z","dependencies_parsed_at":"2024-01-07T07:28:05.181Z","dependency_job_id":"28b6b1a2-7b45-498c-9380-f73cfb986021","html_url":"https://github.com/oapicf/swaggy-c","commit_stats":{"total_commits":130,"total_committers":2,"mean_commits":65.0,"dds":"0.23076923076923073","last_synced_commit":"9c90ff302e808c558acf0114f687bc653ab6f7af"},"previous_names":["oapicf/swaggy-c"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/oapicf/swaggy-c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oapicf%2Fswaggy-c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oapicf%2Fswaggy-c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oapicf%2Fswaggy-c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oapicf%2Fswaggy-c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oapicf","download_url":"https://codeload.github.com/oapicf/swaggy-c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oapicf%2Fswaggy-c/sbom","scorecard":{"id":291588,"data":{"date":"2025-08-11","repo":{"name":"github.com/cliffano/swaggy-c","commit":"cd2e6996e6d0eb6d3ece9764485b8297ebda02a6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"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/30 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":"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":"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/ci-workflow.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/ci-workflow.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-workflow.yaml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/ci-workflow.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-workflow.yaml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/ci-workflow.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-major-workflow.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/release-major-workflow.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-minor-workflow.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/release-minor-workflow.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-patch-workflow.yaml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/cliffano/swaggy-c/release-patch-workflow.yaml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/release-major-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/release-minor-workflow.yaml:1","Warn: no topLevel permission defined: .github/workflows/release-patch-workflow.yaml: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":"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":"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":"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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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"}}]},"last_synced_at":"2025-08-17T18:23:21.969Z","repository_id":66257565,"created_at":"2025-08-17T18:23:21.969Z","updated_at":"2025-08-17T18:23:21.969Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28761863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T23:06:19.311Z","status":"ssl_error","status_checked_at":"2026-01-25T23:03:50.555Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["makefile","openapi","openapi-generator"],"created_at":"2026-01-26T00:00:02.228Z","updated_at":"2026-01-26T00:00:02.477Z","avatar_url":"https://github.com/oapicf.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" src=\"https://raw.github.com/cliffano/swaggy-c/master/avatar.jpg\" alt=\"Avatar\"/\u003e\n\n[![Build Status](https://github.com/cliffano/swaggy-c/actions/workflows/ci-workflow.yaml/badge.svg)](https://github.com/cliffano/swaggy-c/actions/workflows/ci-workflow.yaml)\n\u003cbr/\u003e\n\nSwaggy C\n--------\n\nSwaggy C is a builder for [OpenAPI Generator](https://openapi-generator.tech/)-generated API clients in multiple technology stacks.\n\nIt provides utility targets for generating the API clients, building, testing, and publishing the artifacts, from an OpenAPI spec in one go.\n\nHave a look at [Swaggy Jenkins](http://github.com/cliffano/swaggy-jenkins) as an example project that was built using Swaggy C.\n\nInstallation\n------------\n\n1. Copy `src/Makefile-swaggy-c` to be the `Makefile` of your project:\n    curl https://raw.githubusercontent.com/cliffano/swaggy-c/main/src/Makefile-swaggy-c -o Makefile\n2. Create configuration file `swaggy-c.yml` with properties described in [Configuration](#configuration) section\n3. Run the available `Makefile` targets described in [Usage](#usage) section\n\nConfiguration\n-------------\n\nCreate Swaggy C configuration file called `swaggy-c.yml` with contains the following properties:\n\n| Property | Description | Example |\n|----------|-------------|---------|\n| spec_uri | File path or URL where the OpenAPI specification is located | `spec/some-app.yaml` or `https://some-app.com/some-app.yaml` |\n| version | Version of the application using Swaggy C | `1.2.3` |\n| contact.name | Contact name to be amended to the OpenAPI specification | `John Citizen` |\n| contact.url | Contact URL to be amended to the OpenAPI specification | `https://some-app.com` |\n| contact.email | Contact email to be amended to the OpenAPI specification | `johnc@some-app.com` |\n| scm.git_user | Git user/org name to be amended to the generated  OpenAPI Generator configuration | `johncitizen` |\n| scm.git_repo | Git repo name to be amended to the generated OpenAPI Generator configuration | `some-app` |\n| base_dir.github_actions | Absolute path where the application base directory is located within GitHub Actions runner, use this by setting GITHUB_ACTIONS environment variable | `/home/runner/work/some-app/some-app` |\n| base_dir.local | Absolute path where the application base directory is located within your local environment, use this when no environment variable specified | `/Users/some-user/some-path/some-app` |\n| base_dir.custom | Absolute path where the application base directory is any custom directory, use this by setting CUSTOM environment variable | `/Users/some-user/some-path/some-app` |\n\nUsage\n-----\n\nThe following targets are available:\n\n| Target | Description |\n|--------|-------------|\n| ci | CI target to be executed by CI/CD tool |\n| stage | Ensure stage directory exists |\n| clean | Remove all generated API clients code |\n| deps | Retrieve the OpenAPI Generator Docker image and npm modules |\n| init-spec | Initialise OpenAPI specification from either a local file path or a remote URL |\n| init-generators-config | Initialise empty configuration file for all generators |\n| update-to-latest | Update Makefile to the latest version on origin's main branch |\n| update-to-version | Update Makefile to the version defined in TARGET_SWAGGY_C_VERSION parameter |\n| generate | Alias for generate-all target |\n| generate-all | Generate API clients for all generators, this is separate from generate-primary target in order to reduce the build time when processing primary generators |\n| generate-primary | Generate API clients for primary generators only |\n| build-\u003cgenerator\u003e | API clients building targets for primary generators |\n| test-\u003cgenerator\u003e | API clients testing targets for primary generators |\n| publish-\u003cgenerator\u003e | API clients package publishing targets for primary generators |\n| doc | Alias for doc-latest target |\n| doc-latest | Generate API documentation locally as the latest version |\n| doc-version | Generate API documentation locally as the application's version |\n| doc-publish | Publish documentation via GitHub Pages |\n\nUpgrade Guide\n-------------\n\nTo 4.x.x:\n\n* Revert all references of python-nextgen to python\n\nTo 2.x.x:\n\n* Copy clients/python/conf.json to clients/python-nextgen/conf.json\n* Rename all references of python to python-nextgen in GitHub Actions assets\n\nColophon\n--------\n\nRelated Project:\n\n* [OpenAPI Clients Factory](https://github.com/oapicf) - A project to produce OpenAPI-based clients using OpenAPI Generator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foapicf%2Fswaggy-c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foapicf%2Fswaggy-c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foapicf%2Fswaggy-c/lists"}