Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InterfaceAddReq ¶
type InterfaceAddReq struct { Token string `json:"token"` ReqQuery []ReqKvItem `json:"req_query,omitempty"` ReqHeaders []ReqKvItem `json:"req_headers,omitempty"` ReqBodyForm []ReqKvItem `json:"req_body_form,omitempty"` ReqParams []ReqKvItem `json:"req_params,omitempty"` ReqBodyType string `json:"req_body_type" ` ReqBodyOther string `json:"req_body_other,omitempty"` ReqBodyIsJsonSchema bool `json:"req_body_is_json_schema"` ResBodyIsJsonSchema bool `json:"res_body_is_json_schema"` Title string `json:"title"` Catid int `json:"catid"` Path string `json:"path"` ResBodyType string `json:"res_body_type"` ResBody string `json:"res_body"` Message string `json:"message"` Desc string `json:"desc,omitempty"` Method string `json:"method"` ID string `json:"id,omitempty"` }
type InterfaceDetail ¶
type InterfaceDetail struct {
ID int `json:"_id"`
}
type InterfaceSaveReq ¶
type InterfaceSaveReq = InterfaceAddReq
type InterfaceSaveResp ¶
type InterfaceSaveResp []InterfaceDetail
type Project ¶
type Project struct { IsMockOpen bool `json:"is_mock_open"` Strice bool `json:"strice"` IsJSON5 bool `json:"is_json5"` ID int `json:"_id"` Name string `json:"name"` Desc string `json:"desc"` Basepath string `json:"basepath"` ProjectType string `json:"project_type"` UID int `json:"uid"` GroupID int `json:"group_id"` Icon string `json:"icon"` Color string `json:"color"` AddTime int `json:"add_time"` UpTime int `json:"up_time"` }
Click to show internal directories.
Click to hide internal directories.