(other *operation)
| 37 | } |
| 38 | |
| 39 | func (o *operation) equal(other *operation) bool { |
| 40 | if o.Name != other.Name || o.DocumentationURL != other.DocumentationURL { |
| 41 | return false |
| 42 | } |
| 43 | if len(o.OpenAPIFiles) != len(other.OpenAPIFiles) { |
| 44 | return false |
| 45 | } |
| 46 | for i := range o.OpenAPIFiles { |
| 47 | if o.OpenAPIFiles[i] != other.OpenAPIFiles[i] { |
| 48 | return false |
| 49 | } |
| 50 | } |
| 51 | return true |
| 52 | } |
| 53 | |
| 54 | func (o *operation) clone() *operation { |
| 55 | return &operation{ |