{"id":20693116,"url":"https://github.com/jeshan/swagger-codegen-cli","last_synced_at":"2026-06-05T10:31:31.990Z","repository":{"id":77854033,"uuid":"106093503","full_name":"jeshan/swagger-codegen-cli","owner":"jeshan","description":"Swagger codegen cli. Small docker image suitable for CI","archived":false,"fork":false,"pushed_at":"2017-10-07T13:43:24.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T06:42:26.583Z","etag":null,"topics":["docker-image","swagger","swagger-codegen"],"latest_commit_sha":null,"homepage":null,"language":null,"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/jeshan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-07T11:45:21.000Z","updated_at":"2023-02-21T16:40:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d5251d9c-94ea-44de-9bf4-893d38a60a4e","html_url":"https://github.com/jeshan/swagger-codegen-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jeshan/swagger-codegen-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fswagger-codegen-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fswagger-codegen-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fswagger-codegen-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fswagger-codegen-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeshan","download_url":"https://codeload.github.com/jeshan/swagger-codegen-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeshan%2Fswagger-codegen-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33939226,"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-05T02:00:06.157Z","response_time":120,"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":["docker-image","swagger","swagger-codegen"],"created_at":"2024-11-16T23:25:25.216Z","updated_at":"2026-06-05T10:31:31.986Z","avatar_url":"https://github.com/jeshan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# swagger-codegen-cli\n\nThe official image doesn't allow calling easily in a CI environment like Gitlab CI. This image is to allow that.\n\n# Examples\n## Docker Compose\nRun:\n\n`docker-compose up`\n\nThis will look for a file called swagger.yaml in the current directory, compile a java client and output it into a directory called swagger-java-client. But chances are you want to customise this. Use the following options:\n\n- SRC_PATH=/path/to/your/project\n- SPEC_RELATIVE_PATH=$RELATIVE_TO_SRC_PATH/swagger.yaml\n- SWAGGER_LANG=java\n\nEither modify them in .env or run them as follows:\n\n`SRC_PATH=/path/to/your/project SPEC_RELATIVE_PATH=$RELATIVE_TO_SRC_PATH/swagger.yaml SWAGGER_LANG=java docker-compose up`\n\n## Gitlab CI\n```yaml\nswagger:\n  image: jeshan/swagger-codegen-cli\n  stage: build\n  script:\n  - 'java -jar /swagger-codegen-cli.jar generate -l java -i server/api/swagger/swagger.yaml -o swagger-java-client'\n  artifacts:\n    name: \"${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}\"\n    paths: ['swagger-java-client']\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeshan%2Fswagger-codegen-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeshan%2Fswagger-codegen-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeshan%2Fswagger-codegen-cli/lists"}