@redocly/openapi-core
Version:
See https://github.com/Redocly/redocly-cli
14 lines • 450 B
JavaScript
import { validateDefinedAndNonEmpty } from '../utils.js';
export const OperationSummary = () => {
return {
Operation(operation, ctx) {
validateDefinedAndNonEmpty({
fieldName: 'summary',
value: operation,
ctx,
reference: 'https://redocly.com/docs/cli/rules/oas/operation-summary',
});
},
};
};
//# sourceMappingURL=operation-summary.js.map