Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher interface {
Fetch(definition definitions.Endpoint) ([]TestCase, error)
}
type TestCase ¶
type TestCase struct { SchemaEntries []definitions.SchemaEntry `json:"schemaEntries"` // SchemaEntries are the schema definitions of every field in the items Data Data map[string]any `json:"data"` // Data is the raw response data mapped in a map Url string `json:"url"` // Url is the request url of the item EndpointName string `json:"endpointName"` // EndpointName is the name of the endpoint in the definition file Code int `json:"code"` // Code is the response code of the request ExcludedValidators []string `json:"excludedValidators"` // ExcludedValidators is a list of validators that should be excluded from the validation }
Click to show internal directories.
Click to hide internal directories.