Documentation ¶
Index ¶
- Constants
- Variables
- func ApiCommand(cmd *cobra.Command, args []string)
- func CanGenerate(operation *types.ApiOperation, parameter *types.ApiParameter) bool
- func DownloadDescription(name string) *types.ApiDescriptionDocument
- func Execute()
- func FilterModels(models map[string]*types.ApiModel) []string
- func Unique(parameters []*types.ApiOperationParameter) []*types.ApiOperationParameter
Constants ¶
View Source
const ROOT_URL = "https://api.ovh.com/"
Variables ¶
View Source
var STRUCT_TEMPLATE string
Functions ¶
func ApiCommand ¶
func CanGenerate ¶
func CanGenerate(operation *types.ApiOperation, parameter *types.ApiParameter) bool
func DownloadDescription ¶
func DownloadDescription(name string) *types.ApiDescriptionDocument
func Unique ¶
func Unique(parameters []*types.ApiOperationParameter) []*types.ApiOperationParameter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.