Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: openapi specification #229

Merged
merged 22 commits into from
Feb 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: cargo lint
bkioshn committed Feb 2, 2024
commit 123f1fe6a99883416d44f6703c806ca897150012
Original file line number Diff line number Diff line change
@@ -36,11 +36,9 @@ pub(crate) type AllResponses = response! {
/// * 503 Service Unavailable - Service is possibly not running reliably.
#[allow(clippy::unused_async)]
pub(crate) async fn endpoint(id: i32, action: &String) -> AllResponses {
let response: AllResponses = match id {
_ => {
info!("id: {id:?}, action: {action:?}");
T204(NoContent)
},
let response: AllResponses = {
info!("id: {id:?}, action: {action:?}");
T204(NoContent)
};
response
}