genscala

package
v2.1.1144 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultValue

func DefaultValue(typ *spec.TypeDef, value string) string

func GenerateCirceModels

func GenerateCirceModels(specification *spec.Spec, packageName string, generatePath string) *gen.Sources

func GeneratePlayService

func GeneratePlayService(specification *spec.Spec, swaggerPath string, generatePath string, servicesPath string) *gen.Sources

func GenerateSttpClient

func GenerateSttpClient(specification *spec.Spec, packageName string, generatePath string) *gen.Sources

func JoinParams

func JoinParams(params []string) string

func NewScalaWriter added in v2.0.416

func NewScalaWriter() *gen.Writer

func PlainScalaType

func PlainScalaType(typ string) string

func ScalaType

func ScalaType(typ *spec.TypeDef) string

Types

type Package added in v2.1.1062

type Package struct {
	Path        string
	PackageName string
	PackageStar string
}

func NewPackage added in v2.1.1062

func NewPackage(rootPath, rootPackageName, packageName string) Package

func (Package) GetPath added in v2.1.1062

func (m Package) GetPath(filename string) string

func (Package) Subpackage added in v2.1.1062

func (m Package) Subpackage(name string) Package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL