Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
08765ef
deps: upgrade axum 0.7 to 0.8
iostat Jan 14, 2026
6d8edb0
node/http: add axum http_server module alongside warp
iostat Jan 15, 2026
b890c0d
node: add --http-port-axum for comparison testing
iostat Jan 15, 2026
48ab40d
node/http: implement remaining axum route handlers
iostat Jan 18, 2026
24c1851
node/http: remove warp, switch to axum-only with GraphQL
iostat Jan 18, 2026
6b87d13
node/http: add utoipa OpenAPI docs with Swagger UI and Scalar
iostat Jan 18, 2026
44bce1d
node/http: add Stoplight Elements UI at /api-docs/stoplight
iostat Jan 19, 2026
7f793f1
node/http: initial ToSchema derives for OpenAPI response bodies
iostat Jan 21, 2026
7f43f66
node/http: ToSchema derives for stats routes
iostat Jan 21, 2026
afe9651
node/http: ToSchema derives for snark pool and snarker routes
iostat Jan 21, 2026
7187500
p2p-messages: add ToSchema impls for primitive wrapper types
iostat Jan 27, 2026
1965273
p2p-messages: generate ToSchema for base58check types via macro
iostat Jan 27, 2026
1d0ef0b
p2p-messages: add ToSchema derives for some generated types
iostat Jan 27, 2026
4facc8d
node: add ToSchema derives for RPC response types
iostat Jan 27, 2026
435867b
p2p: add manual ToSchema for PeerId with base58 pattern
iostat Jan 27, 2026
05ee85e
node/http: add response body schemas to route handlers
iostat Jan 27, 2026
91041f9
node/http: add openapi_spec() for static spec generation
iostat Jan 28, 2026
a0b36a1
build: add xtask crate with openapi-gen feature
iostat Jan 28, 2026
89a3927
website: add static HTML pages for OpenAPI doc UIs
iostat Jan 28, 2026
55d072d
build: add Makefile target for OpenAPI docs generation
iostat Jan 28, 2026
fa3e12a
docs: add links to interactive OpenAPI documentation
iostat Jan 28, 2026
c8ed2cd
ci: use setup-rust action with caching for docs workflow
iostat Jan 28, 2026
d042151
changelog: add entries for warp->axum + openapi docs
iostat Jan 28, 2026
ca23ea4
fix(p2p): set Content-Type header in WebRTC signaling requests
iostat Jan 29, 2026
5c9b049
fix(http): add AssumeJson extractor for backwards compatibility
iostat Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/config.toml
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,8 @@ rustflags = [
"-C",
"link-args=--export=__tls_base",
]

# Cargo aliases for xtask
[alias]
xtask = "run --package xtask --"
x-openapi-gen = "run --package xtask --features xtask/openapi-gen -- openapi"
13 changes: 4 additions & 9 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
run: make docs-install

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
uses: ./.github/actions/setup-rust
with:
components: rustfmt
# This should be in line with the verison in:
# - Makefile
# - ./github/workflows/docs.yaml
# - ./github/workflows/fmt.yaml
# - ./github/workflows/lint.yaml
toolchain: nightly
cache-prefix: docs

- name: Verify code references in documentation (PR mode)
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -130,15 +130,10 @@ jobs:
run: make docs-install

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
uses: ./.github/actions/setup-rust
with:
components: rustfmt
# This should be in line with the verison in:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I don't want to block at all, but it was nice to have this to guide updates, in case we have to use a specific nightly version again. Fine to remove it as AI code assistants are good for this now. However, we might want to stay consistent in the codebase and remove other places where we have the list.

# - Makefile
# - ./github/workflows/docs.yaml
# - ./github/workflows/fmt.yaml
# - ./github/workflows/lint.yaml
toolchain: nightly
cache-prefix: docs

- name: Build documentation
run: make docs-build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ tests.tsv

# Generated API docs should not be committed
website/static/api-docs/
website/static/openapi/openapi.json

crates/ledger/3.0.0mainnet
crates/ledger/berkeley-devnet
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Added

- **Documentation**: add interactive OpenAPI documentation (Swagger UI, Stoplight
Elements, Scalar) to the website, with `cargo xtask` for static spec generation
([#2119](https://github.com/o1-labs/mina-rust/pull/2119))
- **Node**: add OpenAPI documentation endpoints (`/api-docs/*`)
([#2119](https://github.com/o1-labs/mina-rust/pull/2119))

### Changed

- **CI**: Add `merge_group` trigger to workflows for merge queue support
Expand All @@ -23,6 +31,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **Frontend**: remove old code adding so-called "deployment" information,
leaking engineer information
([#2092](https://github.com/o1-labs/mina-rust/pull/2092))
- **Node**: migrate HTTP server from warp to axum
([#2119](https://github.com/o1-labs/mina-rust/pull/2119))

### Dependencies

Expand Down
Loading
Loading