{"id":22515149,"url":"https://github.com/rggh/ax2","last_synced_at":"2025-03-28T01:53:38.158Z","repository":{"id":154873037,"uuid":"622185442","full_name":"RGGH/ax2","owner":"RGGH","description":"Rust Axum API with Swagger UI","archived":false,"fork":false,"pushed_at":"2023-04-25T18:51:58.000Z","size":30,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T03:32:48.167Z","etag":null,"topics":["api","axum","rust","rust-tutorial","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/RGGH.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":"2023-04-01T11:27:46.000Z","updated_at":"2023-10-09T19:32:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"b6714396-93a5-4d11-8701-b334ade6d68d","html_url":"https://github.com/RGGH/ax2","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/RGGH%2Fax2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Fax2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Fax2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RGGH%2Fax2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RGGH","download_url":"https://codeload.github.com/RGGH/ax2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245955201,"owners_count":20699891,"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":["api","axum","rust","rust-tutorial","swagger-ui"],"created_at":"2024-12-07T03:28:32.680Z","updated_at":"2025-03-28T01:53:38.136Z","avatar_url":"https://github.com/RGGH.png","language":"Rust","readme":"# ax2 - Rust\n[![Rust](https://github.com/RGGH/ax2/actions/workflows/rust.yml/badge.svg)](https://github.com/RGGH/ax2/actions/workflows/rust.yml)\u003cbr\u003e\n\nAxum API with Swagger UI\n\n### Learning project\n\n- create swagger UI\n- add POST and GET\n\ntodo:\u003cbr\u003e\n\n- take 2 params : i32, i32 and return result in JSON \u003cbr\u003e\n- eg.Currently this is returning JSON `\u003cQueryParams\u003e`\n  ```params\n  pub async fn query_params(Query(query): Query\u003cQueryParams\u003e) -\u003e Json\u003cQueryParams\u003e {\n      Json(query)\n  }\n  ```\n- Add in a function to return i32 from a calculation of input param1 and input param2\n- link with SQLX\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frggh%2Fax2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frggh%2Fax2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frggh%2Fax2/lists"}