Skip to content

Commit

Permalink
Remove duplicate openapi.json file (#1638)
Browse files Browse the repository at this point in the history
svix-jplatte authored Jan 20, 2025

Verified

This commit was signed with the committer’s verified signature. The key has expired.
DRSchlaubi Michael Rittmeister
2 parents 53e4c12 + 5e755b9 commit 282d61c
Showing 2 changed files with 1 addition and 7,835 deletions.
2 changes: 1 addition & 1 deletion server/svix-server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -400,7 +400,7 @@ mod docs {
}

async fn get_openapi_json() -> impl IntoResponse {
static BODY: &str = include_str!("static/openapi.json");
static BODY: &str = include_str!("../../openapi.json");
([(http::header::CONTENT_TYPE, "application/json")], BODY)
}
}
7,834 changes: 0 additions & 7,834 deletions server/svix-server/src/static/openapi.json

This file was deleted.

0 comments on commit 282d61c

Please sign in to comment.