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 PlainGoType(typ string, modelsPackage string) string
- func VersionModelsHasType(version *spec.Version, typ string) bool
Constants ¶
View Source
const EmptyType = `empty.Type`
Variables ¶
View Source
var ModelsPackage = "models"
Functions ¶
func ApiHasBody ¶
func GoTypeSamePackage ¶
func OperationHasType ¶
func OperationHasType(operation *spec.NamedOperation, typ string) bool
func PlainGoType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.