swarmhive-api-types 0.1.0

SwarmHive HTTP API types: serde DTO + utoipa schema shared by server, CLI, and any future client.
Documentation

SwarmHive HTTP API types.

Plain serde DTOs + utoipa::ToSchema annotations shared across the wire. Consumed by:

  • swarmhive-server — for axum handler request / response bodies.
  • swarmhive-cli — for HTTP client request / response deserialization.
  • swarmhive-entity — for impl From<&entity::Model> conversions.

Boundary rules:

  • This crate MUST stay free of sea-orm, axum, tokio, reqwest, or any IO / runtime dependency. It is the thinnest possible shared layer.
  • Concrete DTOs (User, Release, Artifact, …) are added by subsequent proposals (add-persistence-foundation, add-app-release-artifact, …).