Skip to content

Commit

Permalink
mount openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 14, 2023
1 parent 3110173 commit 6252a9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kitsune/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tracing-error = "0.2.0"
tracing-subscriber = "0.3.17"
typed-builder = "0.16.2"
url = "2.4.1"
utoipa = { version = "4.0.0", features = ["axum_extras", "time", "uuid"] }
utoipa = { version = "4.0.0", features = ["axum_extras", "uuid"] }
utoipa-swagger-ui = { version = "4.0.0", features = ["axum"] }

# --- Optional dependencies ---
Expand Down
2 changes: 2 additions & 0 deletions kitsune/src/http/openapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ struct CommonApiDocs;
mastodon::api::v1::statuses::put,
mastodon::api::v1::statuses::context::get,
mastodon::api::v1::statuses::favourite::post,
mastodon::api::v1::statuses::favourited_by::get,
mastodon::api::v1::statuses::reblog::post,
mastodon::api::v1::statuses::reblogged_by::get,
mastodon::api::v1::statuses::source::get,
mastodon::api::v1::statuses::unfavourite::post,
mastodon::api::v1::statuses::unreblog::post,
Expand Down

0 comments on commit 6252a9e

Please sign in to comment.