#![cfg_attr(docsrs, feature(doc_cfg))]
pub mod error;
pub mod id;
pub mod include;
pub mod layer;
pub mod request;
pub mod response;
pub use error::{
ApiErrorExt, ApiErrors, api_error_for_status, error_response, error_response_for,
error_response_for_status, stamp_error_ids, stamp_error_ids_in_bytes, status_for, to_api_error,
with_status,
};
pub use id::{ClientIdPolicy, check_client_id, check_id_matches, id_conflict};
pub use include::{IncludeResolver, resolve_includes};
pub use layer::{AcceptLayer, ContentTypeLayer, GuardService, JsonApiLayer};
pub use request::{check_content_type, deserialize_body, negotiate, parse_query};
pub use response::{
content_type_value, document_response, json_api_response, json_api_response_filtered,
try_document_response, try_json_api_response, try_json_api_response_filtered,
};
pub const JSON_API_MEDIA_TYPE: &str = "application/vnd.api+json";