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
Click to show internal directories.
Click to hide internal directories.