UNPKG

digitaltwin-core

Version:

Minimalist framework to collect and handle data in a Digital Twin project

16 lines 505 B
/** * @fileoverview OpenAPI 3.0 type definitions for automatic documentation generation * * These types provide a structured way to define OpenAPI specifications * for digital twin components. */ /** * Type guard to check if an object implements OpenAPIDocumentable */ export function isOpenAPIDocumentable(obj) { return (typeof obj === 'object' && obj !== null && 'getOpenAPISpec' in obj && typeof obj.getOpenAPISpec === 'function'); } //# sourceMappingURL=types.js.map