Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonParams ¶
type CommonParams struct {
Query []interface{} `json:"query"`
Body []interface{} `json:"body"`
Cookie []interface{} `json:"cookie"`
Header []struct {
Name string `json:"name"`
} `json:"header"`
}
type JsonSchema ¶
type ReqBody ¶
type ReqBody struct {
Type string `json:"type"`
Parameters []Param `json:"parameters"`
JsonSchema JsonSchema `json:"json_schema"`
}
type Response ¶
type Response struct {
Code int `json:"code"`
ContentType string `json:"content_type"`
TempId string `json:"temp_id"`
Name string `json:"name"`
JsonSchema JsonSchema `json:"json_schema"`
}
type SaveApiReq ¶
type SaveApiReq struct {
Path string `json:"path"`
Method string `json:"method"`
Name string `json:"name"`
FolderId int `json:"folder_id"`
Status string `json:"status"`
ServerId string `json:"server_id"`
ResponsibleId int `json:"responsible_id"`
Tags []string `json:"tags"`
Description string `json:"description"`
OperationId string `json:"operation_id"`
SourceUrl string `json:"source_url"`
Responses []Response `json:"responses"`
ResponseExamples []string `json:"response_examples"`
CodeSamples []string `json:"code_samples"`
CommonParameters CommonParams `json:"common_parameters"`
CustomApiFields map[string]interface{} `json:"custom_api_fields"`
CommonResponseStatus interface{} `json:"common_response_status"`
ResponseId int `json:"response_id"`
Type string `json:"type"`
Parameters Params `json:"parameters"`
RequestBody ReqBody `json:"request_body"`
ResponseChildren []string `json:"response_children"`
Auth interface{} `json:"auth"`
AdvancedSettings interface{} `json:"advanced_settings"`
InheritPostProcessors bool `json:"inherit_post_processors"`
InheritPreProcessors bool `json:"inherit_pre_processors"`
PreProcessors []string `json:"pre_processors"`
PostProcessors []string `json:"post_processors"`
}
Click to show internal directories.
Click to hide internal directories.