Skip to content

Commit 9fc5685

Browse files
committed
Rename management into UI
1 parent fe6ec78 commit 9fc5685

File tree

14 files changed

+14
-14
lines changed

14 files changed

+14
-14
lines changed

notifico-app/src/http/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub enum Claims {
1414
recipient_id: Uuid,
1515
exp: u64,
1616
},
17-
/// This claim is issued using server-to-server call to Management API.
17+
/// This claim is issued using server-to-server call to S2S API.
1818
/// The external system's backend should validate the recipient's identity prior to issuing this
1919
/// token.
2020
/// This token can be used for changing recipient notification settings,

notifico-app/src/http/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pub mod auth;
22
pub mod ingest;
3-
pub mod management;
43
pub mod public;
4+
pub mod ui;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

notifico-app/src/http/management/api/mod.rs renamed to notifico-app/src/http/ui/api/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::http::management::HttpManagementExtensions;
1+
use crate::http::ui::HttpUiExtensions;
22
use axum::{Extension, Router};
33
use tower_http::cors::CorsLayer;
44
use utoipa::OpenApi;
@@ -17,10 +17,10 @@ pub mod subscription;
1717
mod template;
1818

1919
#[derive(OpenApi)]
20-
#[openapi(info(title = "Notifico Management API", version = "0.1.0"))]
20+
#[openapi(info(title = "Notifico UI API", version = "0.1.0"))]
2121
struct ApiDoc;
2222

23-
pub(crate) fn get_router(ext: HttpManagementExtensions) -> Router {
23+
pub(crate) fn get_router(ext: HttpUiExtensions) -> Router {
2424
let router = OpenApiRouter::with_openapi(ApiDoc::openapi())
2525
// Credentials
2626
.routes(routes!(credential::list))
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)