# Training experience 53

### Confusing

1. Operation and PathItem are on the same level on the tree - https://redocly.com/learn/openapi/openapi-visual-reference/openapi-node-types#openapi-3.0-and-3.1-node-type-tree
eventhough its not on the same level according to diagrams below
2. 


```yaml
rules:
  rule/get-operation-summary-starts-with-verb:
    severity: warn
    subject:
      type: Operation
      property: summary
    message: Each summary must start with Retrieve/List
    assertions:
      pattern: /(^Retrieve|^List)/
    where:
      - subject:
          type: Operation
          filterInParentKeys:
            - get
  rule/no-empty-summary:
    severity: error
    subject:
      type: Operation
      property: summary
    message: Each summary must have a minimum of 10 characters
    assertions:
      minLength: 10
```

Screenshot 2025-07-16 at 14.37.21.png
### Smile

1. Different plugins for different openapi versions
2. Local rules work really good
3. Custom rules using where is pretty nice