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— forimpl 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, …).