Skip to content

Commit

Permalink
refactor: add openapi module, fix tags, document more endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-mader committed Aug 24, 2024
1 parent d00354a commit 375110e
Show file tree
Hide file tree
Showing 15 changed files with 492 additions and 125 deletions.
115 changes: 80 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 21 additions & 4 deletions agent_api_rest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,33 @@ tower-http.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
uuid.workspace = true
utoipa = { version = "=5.0.0-alpha.1", features = ["axum_extras", "yaml"] }
utoipa-scalar = { version = "=0.1.0", features = ["axum"] }
# utoipa = { version = "=5.0.0-alpha.1", features = ["axum_extras", "yaml"] }
# utoipa-scalar = { version = "=0.2.0-alpha.0", features = ["axum"] }
# TODO: wait for new release that contains PR juhaku/utoipa#1002 (current version `=5.0.0-alpha.1`)
utoipa = { git = "https://github.com/juhaku/utoipa.git", rev = "f2a7143", features = [
"axum_extras",
"yaml",
] }
# TODO: wait for new release that contains PR juhaku/utoipa#1002 (current version `=5.0.0-alpha.1`)
utoipa-scalar = { git = "https://github.com/juhaku/utoipa.git", rev = "f2a7143", features = [
"axum",
] }
# TODO: wait for new release that contains PR juhaku/utoipa#1002 (current version `=5.0.0-alpha.1`)
utoipa-swagger-ui = { git = "https://github.com/juhaku/utoipa.git", rev = "f2a7143", features = [
"axum",
] }

[dev-dependencies]
agent_event_publisher_http = { path = "../agent_event_publisher_http", features = ["test_utils"] }
agent_event_publisher_http = { path = "../agent_event_publisher_http", features = [
"test_utils",
] }
agent_issuance = { path = "../agent_issuance", features = ["test_utils"] }
agent_secret_manager = { path = "../agent_secret_manager" }
agent_shared = { path = "../agent_shared", features = ["test_utils"] }
agent_store = { path = "../agent_store" }
agent_verification = { path = "../agent_verification", features = ["test_utils"] }
agent_verification = { path = "../agent_verification", features = [
"test_utils",
] }

futures.workspace = true
jsonwebtoken.workspace = true
Expand Down
Loading

0 comments on commit 375110e

Please sign in to comment.