Reorganize method routers for handlers and services (#405)

* Re-organize method routing for handlers

* Re-organize method routing for services

* changelog
This commit is contained in:
David Pedersen
2021-10-24 20:05:16 +00:00
committed by GitHub
parent 0ee7379d4f
commit 7692baf837
57 changed files with 743 additions and 742 deletions
@@ -11,9 +11,9 @@ use axum::{
async_trait,
body::{Bytes, Full},
extract::{Extension, Path},
handler::{get, post},
http::{Response, StatusCode},
response::IntoResponse,
routing::{get, post},
AddExtensionLayer, Json, Router,
};
use serde::{Deserialize, Serialize};