response

package
v0.0.0-...-9be93d0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiInfoResp

type ApiInfoResp struct {
	QueryPath           *QueryPath    `json:"query_path"`
	EditUid             int           `json:"edit_uid"`
	Status              string        `json:"status"`
	Type                string        `json:"type"`
	ReqBodyIsJsonSchema bool          `json:"req_body_is_json_schema"`
	ResBodyIsJsonSchema bool          `json:"res_body_is_json_schema"`
	ApiOpened           bool          `json:"api_opened"`
	Index               int           `json:"index"`
	Tag                 []interface{} `json:"tag"`
	Id                  int           `json:"_id"`
	Method              string        `json:"method"`
	CatId               int           `json:"catid"`
	Title               string        `json:"title"`
	Path                string        `json:"path"`
	ProjectId           int           `json:"project_id"`
	ReqParams           []interface{} `json:"req_params"`
	ResBodyType         string        `json:"res_body_type"`
	Uid                 int           `json:"uid"`
	AddTime             int           `json:"add_time"`
	UpTime              int           `json:"up_time"`
	ReqQuery            []interface{} `json:"req_query"`
	ReqHeaders          []*ReqHeader  `json:"req_headers"`
	ReqBodyForm         []interface{} `json:"req_body_form"`
	V                   int           `json:"__v"`
	Desc                string        `json:"desc"`
	Markdown            string        `json:"markdown"`
	ReqBodyOther        string        `json:"req_body_other"`
	ReqBodyType         string        `json:"req_body_type"`
	ResBody             string        `json:"res_body"`
	Username            string        `json:"username"`
}

type ApiItem

type ApiItem struct {
	EditUid   int           `json:"edit_uid"`
	Status    string        `json:"status"`
	ApiOpened bool          `json:"api_opened"`
	Tag       []interface{} `json:"tag"`
	Id        int           `json:"_id"`
	Method    string        `json:"method"`
	CatId     int           `json:"catid"`
	Title     string        `json:"title"`
	Path      string        `json:"path"`
	ProjectId int           `json:"project_id"`
	Uid       int           `json:"uid"`
	AddTime   int           `json:"add_time"`
}

type ApiListResp

type ApiListResp struct {
	List  []*ApiItem
	Total int
	Count int
}

type QueryPath

type QueryPath struct {
	Path   string        `json:"path"`
	Params []interface{} `json:"params"`
}

type ReqHeader

type ReqHeader struct {
	Required string `json:"required"`
	Id       string `json:"_id"`
	Name     string `json:"name"`
	Value    string `json:"value"`
}

Jump to

Keyboard shortcuts

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