exporter

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyslRefToJSONSchema added in v0.76.0

func SyslRefToJSONSchema(syslRef string) string

Types

type EndpointExporter

type EndpointExporter struct {
	// contains filtered or unexported fields
}

type OpenAPI3Exporter added in v0.76.0

type OpenAPI3Exporter struct {
	// contains filtered or unexported fields
}

func MakeOpenAPI3Exporter added in v0.76.0

func MakeOpenAPI3Exporter(apps map[string]*syslwrapper.App, logger *logrus.Logger) *OpenAPI3Exporter

func (*OpenAPI3Exporter) Export added in v0.76.0

func (s *OpenAPI3Exporter) Export() error

func (*OpenAPI3Exporter) GenerateOpenAPI3 added in v0.76.0

func (s *OpenAPI3Exporter) GenerateOpenAPI3(app *syslwrapper.App) (*openapi3.Swagger, error)

func (*OpenAPI3Exporter) SerializeOutput added in v0.76.0

func (s *OpenAPI3Exporter) SerializeOutput(appName string, mode string) ([]byte, error)

type SwaggerExporter

type SwaggerExporter struct {
	// contains filtered or unexported fields
}

func MakeSwaggerExporter

func MakeSwaggerExporter(app *proto.Application, logger *logrus.Logger) *SwaggerExporter

func (*SwaggerExporter) GenerateSwagger

func (s *SwaggerExporter) GenerateSwagger() error

func (*SwaggerExporter) SerializeOutput

func (s *SwaggerExporter) SerializeOutput(mode string) ([]byte, error)

type TypeExporter

type TypeExporter struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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