UNPKG

openapi-modifier

Version:

This package allows you to automate the process of modifying OpenAPI specifications by applying a set of predefined rules

8 lines (7 loc) 310 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkIsObjectSchema = void 0; const checkIsObjectSchema = (schema) => { return !!schema && typeof schema === 'object' && 'type' in schema && schema.type === 'object'; }; exports.checkIsObjectSchema = checkIsObjectSchema;