UNPKG

@redocly/openapi-core

Version:

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

18 lines 596 B
import { validateDefinedAndNonEmpty } from '../utils.js'; export const OperationOperationId = () => { return { Root: { PathItem: { Operation(operation, ctx) { validateDefinedAndNonEmpty({ fieldName: 'operationId', value: operation, ctx, reference: 'https://redocly.com/docs/cli/rules/oas/operation-operationId', }); }, }, }, }; }; //# sourceMappingURL=operation-operationId.js.map