UNPKG

openapi-diff

Version:

A CLI tool to identify differences between Swagger/OpenAPI specs.

6 lines (5 loc) 242 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isSwagger2Content = void 0; const isSwagger2Content = (specContent) => specContent.hasOwnProperty('swagger'); exports.isSwagger2Content = isSwagger2Content;