Skip to content

Commit

Permalink
rename: renew moved to auth api
Browse files Browse the repository at this point in the history
  • Loading branch information
juliuskreutz committed Nov 15, 2024
1 parent adae5da commit c6cdf48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/api/users/auth/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
mod login;
mod logout;
mod register;
mod renew;
mod request_token;

use actix_web::web;
Expand All @@ -14,6 +15,7 @@ pub fn openapi() -> utoipa::openapi::OpenApi {
let mut openapi = ApiDoc::openapi();
openapi.merge(login::openapi());
openapi.merge(logout::openapi());
openapi.merge(renew::openapi());
openapi.merge(register::openapi());
openapi.merge(request_token::openapi());
openapi
Expand All @@ -23,5 +25,6 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
cfg.configure(login::configure)
.configure(logout::configure)
.configure(register::configure)
.configure(renew::configure)
.configure(request_token::configure);
}
File renamed without changes.
3 changes: 0 additions & 3 deletions src/api/users/me/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ mod export;
mod gi;
mod import;
mod password;
mod renew;
mod uids;
mod username;
mod zzz;
Expand Down Expand Up @@ -36,7 +35,6 @@ pub fn openapi() -> utoipa::openapi::OpenApi {
openapi.merge(gi::openapi());
openapi.merge(import::openapi());
openapi.merge(password::openapi());
openapi.merge(renew::openapi());
openapi.merge(uids::openapi());
openapi.merge(username::openapi());
openapi.merge(zzz::openapi());
Expand All @@ -51,7 +49,6 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
.configure(gi::configure)
.configure(import::configure)
.configure(password::configure)
.configure(renew::configure)
.configure(uids::configure)
.configure(username::configure)
.configure(zzz::configure);
Expand Down

0 comments on commit c6cdf48

Please sign in to comment.