8000 chore(server): coordinated utoipa 5 to 6 upgrade (utoipa, utoipa-axum, utoipa-swagger-ui) · Issue #67 · ahmadmhmdsy/sada · GitHub
[go: up one dir, main page]

Skip to content

chore(server): coordinated utoipa 5 to 6 upgrade (utoipa, utoipa-axum, utoipa-swagger-ui) #67

Closed

Description

@alshahia

Why

#44 (utoipa-swagger-ui 9.0.2 → 10.0.2) cannot merge alone: swagger-ui 10 requires utoipa 6.0.0, while the server pins utoipa = "5" (resolved 5.5.0) and utoipa-axum = "0.2" (which depends on utoipa 5). Cargo resolves two utoipa versions, and SwaggerUi::new(...).url(..., ApiDoc::openapi()) fails with:

error[E0308]: mismatched types
  --> crates/vibe-server/src/server/mod.rs:149:61
note: there are multiple different versions of crate `utoipa` in the dependency graph

Upstream state (verified 2026-11-21)

The coordinated trio is published and internally aligned, so this is unblocked:

  • utoipa 6.0.0
  • utoipa-axum 0.3.0 (requires utoipa = "6.0.0")
  • utoipa-swagger-ui 10.0.2 (requires utoipa = "6.0.0")

Work

  • Bump server/crates/vibe-server/Cargo.toml: utoipa = "6", utoipa-axum = "0.3", utoipa-swagger-ui = "10"
  • Refresh server/Cargo.lock
  • Fix derive/API fallout from utoipa 6 (route macros, OpenApi derive, schema attributes)
  • cd server && cargo check --all-targets
  • cd server && cargo test --release -p vibe-server
  • cd server && cargo build --release -p vibe-server
  • Open the PR, let the review room look at the /docs route once; merge after the batch train

Tracking: reviewed in docs/reviews/2026-11-21-dependabot-merge/ruling.md (wait-row: coordinated utoipa 5→6 upgrade). #44 closed as superseded.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0