(caps pluginapi.Capabilities)
| 66 | } |
| 67 | |
| 68 | func executorScopeAllowsOAuthModels(caps pluginapi.Capabilities) bool { |
| 69 | if caps.Executor == nil { |
| 70 | return true |
| 71 | } |
| 72 | scope := normalizedExecutorModelScope(caps) |
| 73 | return scope == pluginapi.ExecutorModelScopeOAuth || scope == pluginapi.ExecutorModelScopeBoth |
| 74 | } |
| 75 | |
| 76 | func normalizeExecutorFormats(raw []string) []sdktranslator.Format { |
| 77 | if len(raw) == 0 { |
no test coverage detected