()
| 61 | } |
| 62 | |
| 63 | func (c *rootCmd) opsFile() (string, *operationsFile, error) { |
| 64 | filename := filepath.Join(c.WorkingDir, "openapi_operations.yaml") |
| 65 | opsFile, err := loadOperationsFile(filename) |
| 66 | if err != nil { |
| 67 | return "", nil, err |
| 68 | } |
| 69 | return filename, opsFile, nil |
| 70 | } |
| 71 | |
| 72 | func githubClient(apiURL, uploadURL string) (*github.Client, error) { |
| 73 | token := os.Getenv("GITHUB_TOKEN") |
no test coverage detected