Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SyslRefToJSONSchema ¶ added in v0.76.0
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
}
Click to show internal directories.
Click to hide internal directories.