remove trailing slash in path

This commit is contained in:
Tamo 2025-01-13 11:55:59 +01:00
parent 5c7fa9b924
commit 67a0c9fff8
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
9 changed files with 12 additions and 12 deletions

View file

@ -54,7 +54,7 @@ pub fn configure(cfg: &mut web::ServiceConfig) {
/// Create an API Key.
#[utoipa::path(
post,
path = "/",
path = "",
tag = "Keys",
security(("Bearer" = ["keys.create", "keys.*", "*"])),
request_body = CreateApiKey,
@ -133,7 +133,7 @@ impl ListApiKeys {
/// List all API Keys
#[utoipa::path(
get,
path = "/",
path = "",
tag = "Keys",
security(("Bearer" = ["keys.get", "keys.*", "*"])),
params(ListApiKeys),