persona-community-5/.pnpm-store/v3/files/62/58f38d0b4c98652c1f22ddae09f3f6664be6335ab5e40e56dd10668e54f73d69d108d6adf9af79ca2b5f5011f2dfc6ec2fda59355367a1ebec2d4066da9ee8
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

15 lines
506 B
Plaintext

import { validateDefinedAndNonEmpty } from '../utils';
import type { Oas3Rule, Oas2Rule } from '../../visitors';
import type { UserContext } from '../../walk';
import type { Oas2Operation } from '../../typings/swagger';
import type { Oas3Operation } from '../../typings/openapi';
export const OperationSummary: Oas3Rule | Oas2Rule = () => {
return {
Operation(operation: Oas2Operation | Oas3Operation, ctx: UserContext) {
validateDefinedAndNonEmpty('summary', operation, ctx);
},
};
};