Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchSourceTypes ¶
func FetchSourceTypes() (map[string]SourceType, error)
FetchSourceTypes downloads the OpenAPI spec, parses it to extract source type information, and caches the result. It returns a map of source types.
Types ¶
type SourceType ¶
type SourceType struct {
Name string `json:"name"`
AuthScheme string `json:"auth_scheme"`
RequiredFields []string `json:"required_fields"`
}
SourceType holds the validation rules for a single source type.
Click to show internal directories.
Click to hide internal directories.