From ef7f7fbdb1004d3b377028dc6ef54c47c6de7e6d Mon Sep 17 00:00:00 2001 From: Zeerooth Date: Mon, 16 Oct 2023 16:14:54 +0200 Subject: [PATCH] Remove the /oauth/token endpoint from the OpenAPI scheme (#376) * remove /oauth/token endpoint from the scheme * remove the unused module --- kitsune/src/http/openapi.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kitsune/src/http/openapi.rs b/kitsune/src/http/openapi.rs index 4dd4d1ddc..cb788f024 100644 --- a/kitsune/src/http/openapi.rs +++ b/kitsune/src/http/openapi.rs @@ -1,4 +1,4 @@ -use crate::http::handler::{nodeinfo, oauth, well_known}; +use crate::http::handler::{nodeinfo, well_known}; use kitsune_type::{ mastodon as mastodon_type, nodeinfo as nodeinfo_type, webfinger as webfinger_type, }; @@ -77,7 +77,6 @@ struct TimestampPolyfill(String); modifiers(&SecurityAddon), paths( nodeinfo::two_one::get, - oauth::token::post, well_known::nodeinfo::get, well_known::webfinger::get, ),