UNPKG

counterfact

Version:

Generate a TypeScript-based mock server from an OpenAPI spec in seconds — with stateful routes, hot reload, and REPL support.

9 lines (8 loc) 241 B
/** * Represents a single content entry in an OpenAPI response object. * The `schema` property holds the JSON Schema definition for the body of * a response with this media type. */ export interface OpenApiContent { schema: unknown; }