Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rggh/ax2

Rust Axum API with Swagger UI
https://github.com/rggh/ax2

api axum rust rust-tutorial swagger-ui

Last synced: 6 days ago
JSON representation

Rust Axum API with Swagger UI

Awesome Lists containing this project

README

        

# ax2 - Rust
[![Rust](https://github.com/RGGH/ax2/actions/workflows/rust.yml/badge.svg)](https://github.com/RGGH/ax2/actions/workflows/rust.yml)

Axum API with Swagger UI

### Learning project

- create swagger UI
- add POST and GET

todo:

- take 2 params : i32, i32 and return result in JSON

- eg.Currently this is returning JSON ``
```params
pub async fn query_params(Query(query): Query) -> Json {
Json(query)
}
```
- Add in a function to return i32 from a calculation of input param1 and input param2
- link with SQLX