Implement all API according to swagger spec #27

Merged
blek merged 16 commits from delete-upload-api-methods into 0.2-dev 2023-12-14 11:56:46 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 36bda05825 - Show all commits

View File

@ -3,7 +3,7 @@ use std::net::IpAddr;
use warp::{reply::{Reply, json, with_status}, reject::Rejection, Filter, http::StatusCode}; use warp::{reply::{Reply, json, with_status}, reject::Rejection, Filter, http::StatusCode};
use warp_real_ip::real_ip; use warp_real_ip::real_ip;
use crate::web::{state::SharedState, rejection::HttpReject, api::types::{ErrorMessage, Error}}; use crate::web::{state::SharedState, api::types::{ErrorMessage, Error}};
use super::{check_api_enabled, function_disabled_err}; use super::{check_api_enabled, function_disabled_err};