{"id":21612651,"url":"https://github.com/donnol/httpdoc","last_synced_at":"2025-10-16T00:29:40.734Z","repository":{"id":74106268,"uuid":"142022636","full_name":"donnol/httpdoc","owner":"donnol","description":"Auto genrate http interface document.","archived":false,"fork":false,"pushed_at":"2018-08-27T14:00:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T20:21:51.889Z","etag":null,"topics":["doc","go","http"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/donnol.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}},"created_at":"2018-07-23T14:04:20.000Z","updated_at":"2018-08-27T14:00:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"d390608d-7bd4-44e7-934f-0d37498c7234","html_url":"https://github.com/donnol/httpdoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnol%2Fhttpdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnol%2Fhttpdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnol%2Fhttpdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donnol%2Fhttpdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donnol","download_url":"https://codeload.github.com/donnol/httpdoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244259598,"owners_count":20424576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["doc","go","http"],"created_at":"2024-11-24T21:22:22.940Z","updated_at":"2025-10-16T00:29:35.702Z","avatar_url":"https://github.com/donnol.png","language":"Go","readme":"# httpdoc\n\nAuto genrate http interface document.\n\nJSON 文档格式\n\n```json\n{\n  \"method\": \"GET\",\n  \"url\": \"http://host:port/api/getXXXList\",\n  \"param\": {\n    \"size\": {\n      \"type\": \"int\",\n      \"require\": false,\n      \"comment\": \"分页大小\",\n      \"default\": 10\n    },\n    \"offset\": {\n      \"type\": \"int\",\n      \"require\": false,\n      \"comment\": \"分页偏移\"\n    }\n  },\n  \"return\": {\n    \"data\": [\n      {\n        \"id\": {\n          \"type\": \"string\",\n          \"comment\": \"数据id\"\n        },\n        \"name\": {\n          \"type\": \"string\",\n          \"comment\": \"数据名\"\n        }\n      }\n    ],\n    \"total\": \"int\"\n  }\n}\n```\n\nTOML 文档格式\n\n```toml\n# TODO\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnol%2Fhttpdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonnol%2Fhttpdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonnol%2Fhttpdoc/lists"}