-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Swagger / OpenAPI, plus refactor (#6)
* Intermediate state * feat: add error * Rework complete * Remove unused Result type
- Loading branch information
1 parent
4b719df
commit 13b4bdd
Showing
16 changed files
with
884 additions
and
457 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
warn-on-all-wildcard-imports = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- Copyright 2024 bmc::labs GmbH. All rights reserved. | ||
DROP TABLE IF EXISTS runners; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- Copyright 2024 bmc::labs GmbH. All rights reserved. | ||
CREATE TABLE IF NOT EXISTS runners ( | ||
id INTEGER PRIMARY KEY, | ||
url TEXT NOT NULL, | ||
token TEXT UNIQUE NOT NULL, | ||
description TEXT NOT NULL, | ||
image TEXT NOT NULL, | ||
tag_list TEXT NOT NULL, | ||
run_untagged BOOLEAN NOT NULL | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
imports_granularity = "Crate" | ||
unstable_features = true | ||
imports_granularity = "Module" | ||
group_imports = "StdExternalCrate" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.