sources

package
v1.2.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL