Skip to content

Commit

Permalink
Remove the /oauth/token endpoint from the OpenAPI scheme (#376)
Browse files Browse the repository at this point in the history
* remove /oauth/token endpoint from the scheme

* remove the unused module
  • Loading branch information
zeerooth authored Oct 16, 2023
1 parent 874582e commit ef7f7fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kitsune/src/http/openapi.rs
Original file line number Diff line number Diff line change
@@ -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,
};
Expand Down Expand Up @@ -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,
),
Expand Down

0 comments on commit ef7f7fb

Please sign in to comment.