{"modulePath":"github.com/hookdeck/hookdeck-cli","version":"v1.9.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sources\n\n## Functions\n\n```go\nfunc FetchSourceTypes() (map[string]SourceType, error)\n```\nFetchSourceTypes downloads the OpenAPI spec, parses it to extract source type information, and caches the result. It returns a map of source types.\n\n## Types\n\n```go\ntype SourceType struct {\n\tName           string   `json:\"name\"`\n\tAuthScheme     string   `json:\"auth_scheme\"`\n\tRequiredFields []string `json:\"required_fields\"`\n}\n```\nSourceType holds the validation rules for a single source type.\n\n","path":"github.com/hookdeck/hookdeck-cli/pkg/cmd/sources","name":"sources","synopsis":"","isRedistributable":true}
