Skip to content

Commit 83108fe

Browse files
committed
feat: Add OpenAPI documentation and Swagger UI by integrating utoipa and annotating API handlers and models.
1 parent 270ee93 commit 83108fe

File tree

8 files changed

+406
-18
lines changed

8 files changed

+406
-18
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,4 @@ jobs:
4545
# - run: pnpm exec nx-cloud record -- echo Hello World
4646
# When you enable task distribution, run the e2e-ci task instead of e2e
4747
- run: pnpm exec nx affected -t lint test build typecheck e2e
48-
# Nx Cloud recommends fixes for failures to help you get CI green faster. Learn more: https://nx.dev/ci/features/self-healing-ci
49-
- run: pnpm exec nx fix-ci
50-
if: always()
48+

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ Thumbs.db
4343

4444
vite.config.*.timestamp*
4545
test-output
46+
47+
webhook_router.db

Cargo.lock

Lines changed: 226 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/webhook_router/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ tracing = "0.1"
1818
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
1919
uuid = { version = "1", features = ["v4", "serde"] }
2020
markdown = "1.0.0"
21+
utoipa = { version = "5", features = ["axum_extras"] }
22+
utoipa-swagger-ui = { version = "8", features = ["axum"] }
2123

2224

2325
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

0 commit comments

Comments
 (0)