UNPKG

@redocly/openapi-core

Version:

See https://github.com/Redocly/redocly-cli

17 lines (16 loc) 487 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OperationOperationId = void 0; const utils_1 = require("../utils"); const OperationOperationId = () => { return { Root: { PathItem: { Operation(operation, ctx) { (0, utils_1.validateDefinedAndNonEmpty)('operationId', operation, ctx); }, }, }, }; }; exports.OperationOperationId = OperationOperationId;