{"id":36549673,"url":"https://github.com/plimble/arlong","last_synced_at":"2026-01-12T06:31:33.205Z","repository":{"id":31754819,"uuid":"35320963","full_name":"plimble/arlong","owner":"plimble","description":"Swagger 2.0 Generator","archived":false,"fork":false,"pushed_at":"2015-06-10T16:16:41.000Z","size":206,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T19:24:59.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/plimble.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}},"created_at":"2015-05-09T08:16:05.000Z","updated_at":"2018-06-29T14:12:58.000Z","dependencies_parsed_at":"2022-09-18T03:41:31.755Z","dependency_job_id":null,"html_url":"https://github.com/plimble/arlong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plimble/arlong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plimble%2Farlong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plimble%2Farlong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plimble%2Farlong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plimble%2Farlong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plimble","download_url":"https://codeload.github.com/plimble/arlong/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plimble%2Farlong/sbom","scorecard":{"id":737805,"data":{"date":"2025-08-11","repo":{"name":"github.com/plimble/arlong","commit":"6c6074662573419344d3846f3cca9359d8fb49c3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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"}}]},"last_synced_at":"2025-08-22T16:25:21.783Z","repository_id":31754819,"created_at":"2025-08-22T16:25:21.783Z","updated_at":"2025-08-22T16:25:21.783Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28336316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"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":[],"created_at":"2026-01-12T06:31:31.933Z","updated_at":"2026-01-12T06:31:33.197Z","avatar_url":"https://github.com/plimble.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Arlong [![godoc badge](http://godoc.org/github.com/plimble/arlong?status.png)](http://godoc.org/github.com/plimble/arlong)\n========\n\nSwagger 2.0 Generator\n\n##Install\n```\ngo get -u github.com/plimble/arlong/...\n```\n\n##Example\n```go\n// @DefinitionModel\ntype Hello struct {\n  // @Name ebola1\n  // @Description ssssss\n  // @Required\n  E *Hello8\n\n  // @Required\n  A Hello8\n\n  *Hello8\n  test int\n\n  // @Name -\n  private int\n\n  // @Required\n  mapping map[string]int\n}\n\n// @Swagger\n// @Title Api\n// @Description Super api\n// @Term Dont use\n// @Contact name=\"John Doe\" url=http://www.company.com email=johndoe@company.com\n// @License name=\"Apache 2.0\" url=http://google.com\n// @Version 1.1.1\n// @Schemes http https ws\n// @Consumes json xml\n// @Produces json xml\n// @Security petstore_auth=write:pets,read:pets\n//\n// @SecurityDefinition petstore_auth\n// @Type oauth2\n// @Flow password\n// @TokenUrl http://swagger.io/api/oauth/token\n// @Scopes write:pets=\"modify pets in your account\" read:pets=\"read your pets\"\n//\n// @GlobalParam userParam name=user required description=\"sadsadsad\" in=body schema.$ref=package.hello\n// @GlobalParam userParam2 name=user required description=\"sadsadsad\" in=body schema.$ref=package.Data\n//\n// @GlobalResponse notFound desc=\"Entity not found.\" schema.$ref=package.hello\n// @GlobalResponse notFound2 desc=\"Entity not found.\" schema.$ref=package.Data\n//\n// @Path /user/package.Data/{id}\n// @Method GET\n// @Param name=id required description=\"sadsadsad\" in=path type=string\n// @Param name=user required description=\"sadsadsad\" in=body schema.$ref=package.Data\n// @Produces json\n// @Consumes json\n// @Summary this is summary\n// @Description this is description\n// @Deprecated\n// @Schemes http https\n// @OperationId GetStart\n// @Tags a b c\n// @Security petstore_auth=write:pets,read:pets\n// @Response 200 desc=123123 schema.$ref=package.NotFound\nfunc main(){\n\n}\n```\n\n##API\n```go\nfunc main(){\n  a := arlong.NewParser(\"~/go/src/path/to/package\")\n  b, err := a.JSON() //generate swagger 2.0 json format\n}\n```\n\n##CLI\n```shell\nNAME:\n   arlong - Genrate Swagger 2.0\n\nUSAGE:\n   arlong [global options] command [command options] [arguments...]\n\nVERSION:\n   1.0.0\n\nAUTHOR(S):\n\nCOMMANDS:\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --path, -p \".\"   Package path to generate\n   --out, -o \".\"    Output Path\n   --file, -f \"swagger.json\"  Output file name\n   --help, -h     show help\n   --version, -v    print the version\n```\n\n##Todo\n - More format\n - Generate Restful Go Client\n - Unit test\n - Compatible all swagger 2.0 spec\n - Document\n - Validate spec\n\n##Contributing\nIf you'd like to help out with the project. You can put up a Pull Request.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplimble%2Farlong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplimble%2Farlong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplimble%2Farlong/lists"}