Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnsupportedElement = errors.New("unsupported element")
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Title string `json:"title"` Description string `json:"description"` Metadata []Metadata `json:"metadata"` ResourceGroups []ResourceGroup `json:"resource_groups"` Resources []Resource `json:"resources"` }
type Href ¶
type Href struct { Path string `json:"path"` Variables []HrefVariable `json:"variables"` }
type HrefVariable ¶
type Resource ¶
type Resource struct { Title string `json:"title"` Description string `json:"description"` Href Href `json:"href"` Transitions []Transition `json:"transitions"` }
type ResourceGroup ¶
type Transaction ¶
type Transition ¶
type Transition struct { Title string `json:"title"` Description string `json:"description"` Method string `json:"method"` Href Href `json:"href"` Transactions []Transaction `json:"transactions"` }
Click to show internal directories.
Click to hide internal directories.