//! Shared models and types for the `OpenApp` SDK.
//!
//! This crate holds:
//!
//! * a small set of hand-written envelopes that every language SDK needs (auth token parsing,
//! the wire-level [`ApiErrorResponse`]), and
//! * a committed [`generated`] module which mirrors the strongly-typed models produced from
//! `packages/api-spec/openapi.json` via [`progenitor`](https://github.com/oxidecomputer/progenitor).
//!
//! The `generated` module is regenerated on demand with
//!
//! ```text
//! just sdk::core::openapi-gen
//! ```
//!
//! (drift-checked by `just sdk::core::openapi-check`). Default builds do **not** invoke the
//! generator; the committed file is authoritative and compiled as-is.
pub use ApiErrorResponse;
pub use ;
/// The SDK name we advertise in the `User-Agent` header.
pub const SDK_NAME: &str = "openapp-sdk";
/// The SDK version (kept in sync with `Cargo.toml`).
pub const SDK_VERSION: &str = env!;