processors

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SERVER_PACKAGE_NAME = "openapi"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorConfig

type GeneratorConfig struct {
	TargetPath  string
	PackageName string
}

type PostProcessor

type PostProcessor interface {
	GetServerGeneratorConfig(ctx *gencontext.GenContext) (GeneratorConfig, error)
	GetClientGeneratorConfig(ctx *gencontext.GenContext, clientName string) (GeneratorConfig, error)
	ProcessServer(ctx *gencontext.GenContext) error
	ProcessClient(ctx *gencontext.GenContext, clientName string) error
	PopulateServerHandlers(ctx *gencontext.GenContext, paths []string) error
	Format(ctx *gencontext.GenContext) error
}

func NewPostProcessor

func NewPostProcessor(lang mifyconfig.ServiceLanguage) (PostProcessor, error)

Jump to

Keyboard shortcuts

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