api

package
v0.0.0-...-f0d4a1f Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertProjectApisDtoDesc

func ConvertProjectApisDtoDesc(apiList []*bo.HttpApi) (rs []*bo.DtoStructDesc)

Types

type SchemaApiGen

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

SchemaApiGen 基于APISchema 生成code

func NewSchemaGen

func NewSchemaGen(yapiClient *yapi.ApiClient) *SchemaApiGen

func (*SchemaApiGen) GenFromYapi

func (s *SchemaApiGen) GenFromYapi(token string, allApi bool, apiList string) (httpProject *bo.HttpProject, err error)

GenFromYapi 通过生成code

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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