| 17 | } |
| 18 | |
| 19 | type API struct { |
| 20 | Name string `json:"name" yaml:"name"` // required |
| 21 | Request *Request `json:"request,omitempty" yaml:"request,omitempty"` |
| 22 | Variables map[string]interface{} `json:"variables,omitempty" yaml:"variables,omitempty"` |
| 23 | SetupHooks []string `json:"setup_hooks,omitempty" yaml:"setup_hooks,omitempty"` |
| 24 | TeardownHooks []string `json:"teardown_hooks,omitempty" yaml:"teardown_hooks,omitempty"` |
| 25 | Extract map[string]string `json:"extract,omitempty" yaml:"extract,omitempty"` |
| 26 | Validators []interface{} `json:"validate,omitempty" yaml:"validate,omitempty"` |
| 27 | Export []string `json:"export,omitempty" yaml:"export,omitempty"` |
| 28 | Path string |
| 29 | } |
| 30 | |
| 31 | func (api *API) GetPath() string { |
| 32 | return api.Path |
nothing calls this directly
no outgoing calls
no test coverage detected