(action: Action)
| 85 | } |
| 86 | |
| 87 | function getRequiredParams(action: Action): string[] { |
| 88 | if (!action.parameters) return []; |
| 89 | const actionParameters = |
| 90 | action.parameters as unknown as OpenAPIV3_1.ParameterObject[]; |
| 91 | return actionParameters |
| 92 | .filter((param) => param.required) |
| 93 | .map((param) => param.name); |
| 94 | } |
no outgoing calls
no test coverage detected