Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageDefinitionParameter ¶
func PageDefinitionParameter() definition.Parameter
PageDefinitionParameter is used for apis/descriptors to define Definition's Parameter.
func ValidateListOption ¶
func ValidateListOption(opts *ListOption) error
ValidateListOption is validating the ListOption.
Types ¶
type ListMeta ¶
type ListMeta struct { // Total number of items on the list. Used for pagination. TotalItems int `json:"totalItems"` }
ListMeta describes list of objects, i.e. holds information about pagination options set for the list.
type ListOption ¶
ListOption is params in query which is used for paging.
Click to show internal directories.
Click to hide internal directories.