Uh oh!
There was an error while loading. Please reload this page.
feat(server): generate OpenAPI spec from routers + add wallet CLI - #7
Merged
Conversation
Migrate every plugin router to utoipa_axum OpenApiRouter so the served routes and the OpenAPI 3.1 spec come from one declaration and cannot drift. Merge plugin fragments into a base ApiDoc, expose it via --dump-openapi and GET /openapi.json, and serve a Mind-themed Swagger UI behind an opt-in swagger-ui feature. Add a CI drift-gate that diffs the committed docs/openapi.json. Add the solidrs-wallet DID-signing CLI crate and broad unit-test coverage. No HTTP/business-logic changes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…maintained) - cargo fmt on the new solidrs-wallet crate (rustfmt gate was failing) - allowlist RUSTSEC-2024-0436 in deny.toml + cargo audit: paste is an unmaintained compile-time proc-macro pulled transitively by utoipa-axum; no known vulnerability Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The debug `cargo test --workspace` compiles oxrocksdb-sys (oxigraph's rocksdb C build); with this PR's added deps the runner ran out of disk during the ar step. Drop preinstalled Android/.NET/GHC/CodeQL tooling first to reclaim space. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate every plugin router to utoipa_axum OpenApiRouter so the served routes
and the OpenAPI 3.1 spec come from one declaration and cannot drift. Merge
plugin fragments into a base ApiDoc, expose it via --dump-openapi and
GET /openapi.json, and serve a Mind-themed Swagger UI behind an opt-in
swagger-ui feature. Add a CI drift-gate that diffs the committed
docs/openapi.json. Add the solidrs-wallet DID-signing CLI crate and broad
unit-test coverage. No HTTP/business-logic changes.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com