Documentation
¶
Index ¶
- Constants
- Variables
- func ApiHasBody(api *spec.Api) bool
- func ApiHasType(api *spec.Api, typ string) bool
- func BodyHasType(api *spec.Api, typ string) bool
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateEmpty(module module.Module) *generator.CodeFile
- func GoType(typ *spec.TypeDef) string
- func GoTypeSamePackage(typ *spec.TypeDef) string
- func OperationHasType(operation *spec.NamedOperation, typ string) bool
- func VersionModelsHasType(models []*spec.NamedModel, typ string) bool
Constants ¶
View Source
const EmptyType = `empty.Type`
Variables ¶
View Source
var ErrorsModelsPackage = "errmodels"
View Source
var VersionModelsPackage = "models"
Functions ¶
func ApiHasBody ¶
func GoTypeSamePackage ¶
func OperationHasType ¶
func OperationHasType(operation *spec.NamedOperation, typ string) bool
func VersionModelsHasType ¶
func VersionModelsHasType(models []*spec.NamedModel, typ string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.