systemprompt-models 0.6.1

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! HATEOAS-style response envelopes for the public HTTP surface.
//!
//! Public re-exports:
//! - Primary envelopes: [`ApiResponse`], [`SingleResponse`],
//!   [`CollectionResponse`], [`ResponseMeta`], [`ResponseLinks`].
//! - Specialized envelopes: [`SuccessResponse`], [`CreatedResponse`],
//!   [`AcceptedResponse`], [`Link`], [`DiscoveryResponse`].
//! - Markdown envelopes: [`MarkdownFrontmatter`], [`MarkdownResponse`].

mod envelopes;
mod markdown;
mod specialized;

pub use envelopes::{ApiResponse, CollectionResponse, ResponseLinks, ResponseMeta, SingleResponse};
pub use markdown::{MarkdownFrontmatter, MarkdownResponse};
pub use specialized::{
    AcceptedResponse, CreatedResponse, DiscoveryResponse, Link, SuccessResponse,
};