fw_openapi

package module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 10 Imported by: 0

README

fw_openapi

generate openapi documents from linxlib/astp

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenAPI

type OpenAPI struct {
	*spec.Extendable[spec.OpenAPI]
	// contains filtered or unexported fields
}

func NewOpenAPIFromFWServer

func NewOpenAPIFromFWServer(s *fw.Server, fileName string) *OpenAPI

func (*OpenAPI) HandleServerInfo

func (oa *OpenAPI) HandleServerInfo(si []string)

func (*OpenAPI) HandleStructs

func (oa *OpenAPI) HandleStructs(ctl *astp.Element)

func (*OpenAPI) Print

func (oa *OpenAPI) Print(slot string)

func (*OpenAPI) WriteOut

func (oa *OpenAPI) WriteOut(file string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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