Documentation ¶
Index ¶
- type AiMeasurement
- type AiMeasurementBase
- type AiMetrics
- type AiMetricsAnswerRelevancy
- type AiMetricsAnswerRelevancyBase
- type AiMetricsBase
- type AiModel
- type AiModelBase
- type AiTemplate
- type AiTemplateBase
- type ApiKey
- type BaseObj
- type BaseRequest
- type BasicAuth
- type BearerToken
- type BodyFormDataItem
- type BodyFormUrlEncodedItem
- type CheckpointBase
- type Condition
- type Cookie
- type DatabaseConnBase
- type DatabaseOptBase
- type Datapools
- type DebugData
- type DebugInfo
- type DebugResponse
- type EnvDataToView
- type EnvToVariables
- type ExecCookie
- type ExecInterfaceCheckpoint
- type ExecInterfaceExtractor
- type ExecIterator
- type ExecLog
- type ExecOutput
- type ExecScene
- type ExecVariable
- type ExtractorBase
- type GlobalParam
- type GlobalVar
- type GrpcDebugData
- type Header
- type InterfaceExecCondition
- type InterfaceToEnvMap
- type OAuth20
- type Param
- type QueryPath
- type Report
- type ReportSimple
- type ReqHeader
- type RequestBody
- type ResponseBody
- type ResponseDefineBase
- type SchemaItem
- type ScriptBase
- type SubmitDebugResultRequest
- type VarKeyValuePair
- type Variable
- type WebsocketDebugData
- type YapiCategory
- type YapiData
- type YapiItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AiMeasurement ¶
type AiMeasurement struct { BaseObj AiMeasurementBase }
type AiMeasurementBase ¶
type AiMeasurementBase struct { Name string `json:"name"` Desc string `json:"desc"` Input string `json:"input"` ActualOutput string `json:"actualOutput"` ExpectedOutput string `json:"expectedOutput"` Context string `json:"context"` RetrievalContext string `json:"retrievalContext"` ToolsCalled string `json:"toolsCalled"` ExpectedTools string `json:"expectedTools"` Reasoning string `json:"reasoning"` MetricsIds string `json:"metricsIds"` }
type AiMetrics ¶
type AiMetrics struct { BaseObj AiMetricsBase }
type AiMetricsAnswerRelevancy ¶
type AiMetricsAnswerRelevancy struct { BaseObj AiMetricsBase AiMetricsAnswerRelevancyBase }
type AiMetricsBase ¶
type AiMetricsBase struct { Name string `json:"name"` Threshold float32 `json:"threshold" gorm:"default:0.5"` IncludeReason bool `json:"includeReason" gorm:"default:true"` AsyncMode bool `json:"asyncMode" gorm:"default:false"` StrictMode bool `json:"strictMode" gorm:"default:false"` VerboseMode bool `json:"verboseMode" gorm:"default:false"` Score float32 `json:"score" gorm:"default:0"` Reason string `json:"reason"` Success bool `json:"success" gorm:"default:false"` VerboseLogs string `json:"verboseLogs"` ModelId uint `json:"modelId"` Model AiModelBase `gorm:"-" json:"model"` EntityType consts.MetricsType `json:"entity_type"` EntityId uint `json:"entity_id"` }
type AiModel ¶
type AiModel struct { BaseObj AiModelBase }
type AiModelBase ¶
type AiTemplate ¶
type AiTemplate struct { BaseObj AiTemplateBase }
type AiTemplateBase ¶
type AiTemplateBase struct {
Name string `json:"name"`
}
type BaseRequest ¶
type BaseRequest struct { ProcessorInterfaceSrc consts.ProcessorInterfaceSrc `json:"processorInterfaceSrc"` Method consts.HttpMethod `gorm:"default:GET" json:"method"` Url string `json:"url"` QueryParams *[]Param ` json:"queryParams"` PathParams *[]Param ` json:"pathParams"` Headers *[]Header ` json:"headers"` Cookies *[]ExecCookie ` json:"cookies"` // from cookie processor in scenario GlobalParams *[]GlobalParam ` json:"globalParams"` // for retrieve data from webpage, not used in exec Body string `json:"body"` BodyFormData *[]BodyFormDataItem `json:"bodyFormData"` BodyFormUrlencoded *[]BodyFormUrlEncodedItem `json:"bodyFormUrlencoded"` BodyType consts.HttpContentType `json:"bodyType"` BodyLang consts.HttpRespLangType `json:"bodyLang"` AuthorizationType consts.AuthorType `json:"authorizationType"` BasicAuth BasicAuth `json:"basicAuth"` BearerToken BearerToken `json:"bearerToken"` OAuth20 OAuth20 `json:"oauth20"` ApiKey ApiKey `json:"apiKey"` FullUrlToDisplay string `json:"fullUrlToDisplay"` }
type BearerToken ¶
type BearerToken struct {
Token string `json:"token"`
}
type BodyFormDataItem ¶
type BodyFormUrlEncodedItem ¶
type CheckpointBase ¶
type CheckpointBase struct { Type consts.CheckpointType `json:"type"` Expression string `json:"expression"` ExtractorVariable string `json:"extractorVariable"` ExtractorType consts.ExtractorType `json:"extractorType"` ExtractorExpression string `json:"extractorExpression"` Operator consts.ComparisonOperator `json:"operator"` Value string `json:"value"` ExpectResult string `json:"expectResult"` ActualResult string `json:"actualResult" gorm:"type:text"` ResultStatus consts.ResultStatus `json:"resultStatus"` ResultMsg string `json:"resultMsg" gorm:"type:text"` Variables string `json:"variables" gorm:"type:text"` // for checkpoint log only ConditionId uint `json:"conditionId"` ConditionEntityId uint `gorm:"-" json:"conditionEntityId"` // refer to entity po id in domain object ConditionEntityType consts.ConditionType `gorm:"-" json:"conditionEntityType"` // for log only InvokeId uint `json:"invokeId"` // for log only Disabled bool `json:"disabled"` }
func (CheckpointBase) GetType ¶
func (condition CheckpointBase) GetType() consts.ConditionType
type DatabaseConnBase ¶
type DatabaseOptBase ¶
type DatabaseOptBase struct { DbConnId uint `json:"dbConnId"` DatabaseConnBase DatabaseConnIsDisabled bool `json:"databaseConnIsDisabled" gorm:"-"` ConditionSrc consts.ConditionSrc `json:"conditionSrc"` Sql string `json:"sql"` Variable string `json:"variable"` Scope consts.ExtractorScope `json:"scope" gorm:"default:public"` JsonPath string `json:"jsonPath"` Result string `json:"result" gorm:"type:text"` ResultType consts.ExtractorResultType `json:"resultType"` ResultStatus consts.ResultStatus `json:"resultStatus"` ResultMsg string `json:"resultMsg" gorm:"type:text"` ConditionId uint `json:"conditionId"` ConditionEntityId uint `gorm:"-" json:"conditionEntityId"` // refer to entity po id in domain object ConditionEntityType consts.ConditionType `gorm:"-" json:"conditionEntityType"` // for log only InvokeId uint `json:"invokeId"` // for log only Disabled bool `json:"disabled"` }
type Datapools ¶
type Datapools map[string][]VarKeyValuePair // datapoolName -> array of map<colName, colValue>
type DebugData ¶
type DebugData struct { BaseRequest Name string `json:"name"` DebugInterfaceId uint `json:"debugInterfaceId"` EndpointInterfaceId uint `json:"endpointInterfaceId"` CaseInterfaceId uint `json:"caseInterfaceId"` DiagnoseInterfaceId uint `json:"diagnoseInterfaceId"` ScenarioProcessorId uint `json:"scenarioProcessorId"` EnvironmentId uint `json:"environmentId"` UsedBy consts.UsedBy `json:"usedBy"` ServeId uint `json:"serveId"` ServerId uint `json:"serverId"` ProjectId uint `json:"projectId"` BaseUrl string `json:"baseUrl"` // used for selection and show in right environment tab EnvDataToView *EnvDataToView `json:"envDataToView,omitempty"` ProcessorInterfaceSrc consts.ProcessorInterfaceSrc `json:"processorInterfaceSrc"` ResponseDefine Condition `json:"responseDefine"` }
type DebugInfo ¶
type DebugInfo struct { DebugInterfaceId uint `json:"debugInterfaceId"` EndpointInterfaceId uint `json:"endpointInterfaceId"` // EndpointInterface without DebugInterface init ScenarioProcessorId uint `json:"scenarioProcessorId"` // used to load vars by scenario processor DiagnoseInterfaceId uint `json:"diagnoseInterfaceId"` // load by interface diagnose CaseInterfaceId uint `json:"caseInterfaceId"` // load by endpoint case IsForBenchmarkCase bool `json:"isForBenchmarkCase"` // load by endpoint case UsedBy consts.UsedBy `json:"usedBy"` UserId uint `json:"userId"` // used by loading debugData for display EnvironmentId uint `json:"environmentId"` // used by loading debugData for exec FromDefine bool `json:"fromDefine"` ProjectId int `json:"projectId"` }
type DebugResponse ¶
type DebugResponse struct { Id uint `json:"id"` InvokeId uint `json:"invokeId"` StatusCode int `json:"statusCode"` StatusContent string `json:"statusContent"` Headers []Header `gorm:"-" json:"headers"` Cookies []ExecCookie `gorm:"-" json:"cookies"` Content string `gorm:"default:''" json:"content,omitempty"` Data interface{} `gorm:"-" json:"data"` // Content obj in goja ContentType consts.HttpContentType `json:"contentType"` ContentLang consts.HttpRespLangType `json:"contentLang"` ContentCharset consts.HttpRespCharset `json:"contentCharset"` ContentLength int `json:"contentLength"` Time int64 `json:"time"` ConsoleLogs []interface{} `json:"consoleLogs,omitempty"` AssertionLogs []interface{} `json:"assertionLogs,omitempty"` }
type EnvDataToView ¶
type EnvToVariables ¶
type ExecCookie ¶
type ExecInterfaceCheckpoint ¶
type ExecInterfaceCheckpoint struct { Type consts.CheckpointType `json:"type"` Expression string `json:"expression"` ExtractorVariable string `json:"extractorVariable"` Operator consts.ComparisonOperator `json:"operator"` Value string `json:"value"` ResultStatus consts.ResultStatus `json:"resultStatus"` InterfaceId uint `json:"interfaceId"` }
type ExecInterfaceExtractor ¶
type ExecInterfaceExtractor struct { Src consts.ExtractorSrc `json:"src"` Type consts.ExtractorType `json:"type"` Key string `json:"key"` Expression string `json:"expression"` Prop string `json:"prop"` BoundaryStart string `json:"boundaryStart"` BoundaryEnd string `json:"boundaryEnd"` BoundaryIndex int `json:"boundaryIndex"` BoundaryIncluded bool `json:"boundaryIncluded"` Variable string `json:"variable"` Result string `json:"result"` InterfaceId uint `json:"interfaceId"` }
type ExecIterator ¶
type ExecIterator struct { ProcessorCategory consts.ProcessorCategory ProcessorType consts.ProcessorType VariableName string `json:"variableName,omitempty"` // loop range Items []interface{} `json:"items"` Data []map[string]interface{} `json:"data"` DataType consts.DataType `json:"dataType"` // loop condition UntilExpression string `json:"untilExpression"` }
type ExecLog ¶
type ExecLog struct { Id uint `json:"id"` Name string `json:"name"` Desc string `json:"desc"` ProgressStatus consts.ProgressStatus `json:"progressStatus"` ResultStatus consts.ResultStatus `json:"resultStatus"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` ParentId uint `json:"parentId"` PersistentId uint `json:"persistentId"` ReportId uint `json:"reportId"` Logs *[]*ExecLog `json:"logs"` // type ProcessorCategory consts.ProcessorCategory `json:"processorCategory"` // for interface InterfaceId uint `json:"interfaceId"` ReqContent string `json:"reqContent,omitempty"` RespContent string `json:"respContent,omitempty"` // for processor ProcessorType consts.ProcessorType `json:"processorType"` ProcessId uint `json:"processId,omitempty"` ProcessContent string `json:"processContent,omitempty"` ProcessResult string `json:"processResult,omitempty"` InterfaceExtractorsResult []ExecInterfaceExtractor `gorm:"-" json:"interfaceExtractorsResult,omitempty"` InterfaceCheckpointsResult []ExecInterfaceCheckpoint `gorm:"-" json:"interfaceCheckpointsResult,omitempty"` Summary []string `json:"summary,omitempty"` Output ExecOutput `json:"output,omitempty"` }
type ExecOutput ¶
type ExecOutput struct { // logic if, else Pass bool `json:"pass,omitempty"` // loop - times Times int `json:"times,omitempty"` // loop util Expression string `json:"times,omitempty"` // loop in List string `json:"list,omitempty"` // loop - range Range string `json:"range,omitempty"` RangeStart interface{} `json:"rangeStart,omitempty"` RangeEnd interface{} `json:"rangeEnd,omitempty"` RangeType consts.DataType `json:"rangeType,omitempty"` // loop break BreakFrom uint `json:"breakFrom,omitempty"` // timer SleepTime int `json:"sleepTime"` // data Url string `json:"url"` RepeatTimes int `json:"repeatTimes,omitempty"` IsLoop int `json:"isLoop,omitempty"` IsRand bool `json:"isRand,omitempty"` IsOnce bool `json:"isOnce,omitempty"` VariableName string `json:"variableName,omitempty"` // extractor Src consts.ExtractorSrc `json:"src"` Type consts.ExtractorType `json:"type"` //Expression string `json:"expression"` BoundaryStart string `json:"boundaryStart"` BoundaryEnd string `json:"boundaryEnd"` BoundaryIndex int `json:"boundaryIndex"` BoundaryIncluded bool `json:"boundaryIncluded"` Variable string `json:"variable"` // variable VariableValue interface{} `json:"variableValue"` // common Msg string `json:"msg,omitempty"` }
type ExecScene ¶
type ExecScene struct { GlobalVars []GlobalVar `json:"globalVar"` GlobalParams []GlobalParam `json:"globalParam"` DebugInterfaceToEnvMap InterfaceToEnvMap `json:"debugInterfaceToEnvMap"` EnvToVariables EnvToVariables `json:"envToVariables"` Datapools Datapools `json:"datapool"` }
type ExecVariable ¶
type ExecVariable struct { Id uint `json:"id"` Name string `json:"name"` Value interface{} `json:"value"` ValueType consts.ExtractorResultType `json:"valueType"` Expression string `json:"expression"` InterfaceId uint `json:"interfaceId"` Scope consts.ExtractorScope `json:"isShare"` }
type ExtractorBase ¶
type ExtractorBase struct { Src consts.ExtractorSrc `json:"src"` Type consts.ExtractorType `json:"type"` Key string `json:"key"` Expression string `gorm:"default:''" json:"expression"` Prop string `json:"prop"` BoundaryStart string `gorm:"default:''" json:"boundaryStart"` BoundaryEnd string `gorm:"default:''" json:"boundaryEnd"` BoundaryIndex int `json:"boundaryIndex"` BoundaryIncluded bool `json:"boundaryIncluded"` Variable string `gorm:"default:''" json:"variable"` Scope consts.ExtractorScope `json:"scope" gorm:"default:public"` Default string `gorm:"default:''" json:"default"` // for cookie Result string `json:"result" gorm:"type:text"` ResultType consts.ExtractorResultType `json:"resultType"` ResultStatus consts.ResultStatus `json:"resultStatus"` ResultMsg string `json:"resultMsg" gorm:"type:text"` ConditionId uint `json:"conditionId"` ConditionEntityId uint `gorm:"-" json:"conditionEntityId"` // refer to po id in domain object ConditionEntityType consts.ConditionType `gorm:"-" json:"conditionEntityType"` // for log only InvokeId uint `json:"invokeId"` // for log only Disabled bool `json:"disabled"` }
func (ExtractorBase) GetType ¶
func (condition ExtractorBase) GetType() consts.ConditionType
type GlobalParam ¶
type GlobalVar ¶
type GlobalVar struct { VarId uint `gorm:"-" json:"varId"` Name string `json:"name"` RightValue string `gorm:"type:text" json:"rightValue"` LocalValue string `gorm:"-" json:"localValue"` RemoteValue string `gorm:"type:text" json:"remoteValue"` ValueType consts.ExtractorResultType `json:"valueType"` }
type GrpcDebugData ¶
type GrpcDebugData struct { ID uint `json:"id"` Address string `json:"address"` UseTls *bool `json:"useTls"` RestartConn *bool `json:"restartConn"` RequestMetadata string `json:"requestMetadata"` ProtoSrc string `json:"protoSrc"` Service string `json:"service"` Method string `json:"method"` Template string `json:"template"` Message string `json:"message"` ProtoName string `json:"protoName"` ProtoPath string `json:"protoPath"` UsedBy consts.UsedBy `json:"usedBy"` Type serverConsts.DiagnoseInterfaceType `json:"type"` DiagnoseInterfaceId uint `json:"diagnoseInterfaceId"` EnvironmentId uint `json:"environmentId"` ServeId uint `json:"serveId"` ServerId uint `json:"serverId"` ProjectId uint `json:"projectId"` }
type Header ¶
type Header struct { Name string `json:"name"` Value string `json:"value"` Disabled bool `json:"disabled"` Format string `json:"format"` Example string `json:"example"` Pattern string `json:"pattern"` MinLength int64 `json:"minLength"` MaxLength int64 `json:"maxLength"` Default string `json:"default"` MultipleOf int64 `json:"multipleOf"` MinItems int64 `json:"minItems"` MaxItems int64 `json:"maxItems"` UniqueItems bool `json:"uniqueItems"` Ref string `json:"ref"` Required bool `json:"required"` Type string `json:"type"` }
type InterfaceExecCondition ¶
type InterfaceExecCondition struct { Type consts.ConditionType `json:"type"` Desc string `json:"desc"` Raw json.RawMessage `json:"raw"` }
type InterfaceToEnvMap ¶
type OAuth20 ¶
type OAuth20 struct { AccessToken string `json:"accessToken"` HeaderPrefix string `json:"headerPrefix" gorm:"default:Bearer"` Name string `json:"name"` GrantType consts.GrantType `json:"grantType" gorm:"default:authorizationCode"` CallbackUrl string `json:"callbackUrl"` AuthURL string `json:"authURL"` AccessTokenURL string `json:"accessTokenURL"` ClientID string `json:"clientID"` ClientSecret string `json:"clientSecret"` Scope string `json:"scope"` State string `json:"state"` ClientAuthentication consts.ClientAuthenticationWay `json:"clientAuthentication" gorm:"default:sendAsBasicAuthHeader"` }
type QueryPath ¶
type QueryPath struct { Path string `json:"path"` Params []interface{} `json:"params"` }
type Report ¶
type Report struct { ID int `json:"id" yaml:"id"` Name string `json:"name" yaml:"name"` Desc string `json:"desc" yaml:"desc"` ProgressStatus consts.ProgressStatus `json:"progressStatus" yaml:"progressStatus"` ResultStatus consts.ResultStatus `json:"resultStatus" yaml:"resultStatus"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Duration int64 `json:"duration"` // sec TotalInterfaceNum int `json:"totalInterfaceNum"` PassInterfaceNum int `json:"passInterfaceNum"` FailInterfaceNum int `json:"failInterfaceNum" yaml:"failInterfaceNum"` TotalRequestNum int `json:"totalRequestNum"` PassRequestNum int `json:"passRequestNum"` FailRequestNum int `json:"failRequestNum"` TotalAssertionNum int `json:"totalAssertionNum"` PassAssertionNum int `json:"passAssertionNum"` FailAssertionNum int `json:"failAssertionNum"` InterfaceStatusMap map[uint]map[consts.ResultStatus]int `gorm:"-"` Payload interface{} `json:"payload"` ScenarioId uint `json:"scenarioId"` ProjectId uint `json:"projectId"` Logs []ExecLog `gorm:"-" json:"logs"` }
type ReportSimple ¶
type ReportSimple struct { ID int `json:"id" yaml:"id"` Name string `json:"name" yaml:"name"` Desc string `json:"desc" yaml:"desc"` ProgressStatus consts.ProgressStatus `json:"progressStatus" yaml:"progressStatus"` ResultStatus consts.ResultStatus `json:"resultStatus" yaml:"resultStatus"` StartTime *time.Time `json:"startTime"` EndTime *time.Time `json:"endTime"` Duration int64 `json:"duration"` // sec TotalInterfaceNum int `json:"totalInterfaceNum"` PassInterfaceNum int `json:"passInterfaceNum"` FailInterfaceNum int `json:"failInterfaceNum" yaml:"failInterfaceNum"` TotalRequestNum int `json:"totalRequestNum"` PassRequestNum int `json:"passRequestNum"` FailRequestNum int `json:"failRequestNum"` TotalAssertionNum int `json:"totalAssertionNum"` PassAssertionNum int `json:"passAssertionNum"` FailAssertionNum int `json:"failAssertionNum"` InterfaceStatusMap map[uint]map[consts.ResultStatus]int `gorm:"-"` }
type RequestBody ¶
type ResponseBody ¶
type ResponseBody struct { ID int64 `json:"id"` MediaType string `json:"mediaType"` Code string `json:"code"` SchemaRefId int64 `json:"schemaRefId"` SchemaItem SchemaItem `json:"schemaItem"` Headers []Header `json:"headers"` Examples string `json:"examples"` Description string `json:"description"` }
type ResponseDefineBase ¶
type ResponseDefineBase struct { ResponseCode string `json:"responseCode"` Schema string `gorm:"-" json:"schema"` Codes []string `gorm:"-" json:"codes"` Code string `json:"code"` Output string `gorm:"type:longtext;" json:"output"` ResultStatus consts.ResultStatus `json:"resultStatus"` ResultMsg string `json:"resultMsg"` ConditionId uint `json:"conditionId"` ConditionEntityId uint `gorm:"-" json:"conditionEntityId"` // refer to po id in domain object ConditionEntityType consts.ConditionType `gorm:"-" json:"conditionEntityType"` // for log only InvokeId uint `json:"invokeId"` // for log only MediaType string `json:"mediaType"` Disabled bool `json:"disabled"` Component string `gorm:"-" json:"component"` }
func (ResponseDefineBase) GetType ¶
func (condition ResponseDefineBase) GetType() consts.ConditionType
type SchemaItem ¶
type ScriptBase ¶
type ScriptBase struct { ConditionSrc consts.ConditionSrc `json:"conditionSrc"` Content string `gorm:"type:longtext;" json:"content"` Output string `gorm:"type:longtext;" json:"output"` ResultStatus consts.ResultStatus `json:"resultStatus"` ResultMsg string `gorm:"type:longtext" json:"resultMsg"` ConditionId uint `json:"conditionId"` ConditionEntityId uint `gorm:"-" json:"conditionEntityId"` // refer to po id in domain object ConditionEntityType consts.ConditionType `gorm:"-" json:"conditionEntityType"` // for log only InvokeId uint `json:"invokeId"` // for log only Disabled bool `json:"disabled"` VariableSettings []ExecVariable `gorm:"-" json:"variableSettings"` }
func (ScriptBase) GetType ¶
func (condition ScriptBase) GetType() consts.ConditionType
type SubmitDebugResultRequest ¶
type SubmitDebugResultRequest struct { ResultStatus consts.ResultStatus Request DebugData `json:"request"` Response DebugResponse `json:"response"` PreConditions []InterfaceExecCondition `json:"preConditions"` PostConditions []InterfaceExecCondition `json:"postConditions"` }
type VarKeyValuePair ¶
type VarKeyValuePair map[string]interface{}
type WebsocketDebugData ¶
type WebsocketDebugData struct { ID uint `json:"id"` Name string `json:"name"` ExtMode bool `json:"extMode"` Namespace string `json:"namespace"` Room string `json:"room"` Event string `json:"event"` Message string `json:"message"` Address string `json:"address"` Service string `json:"service"` Method string `json:"method"` Params *[]Param ` json:"params"` Headers *[]Header ` json:"headers"` UsedBy consts.UsedBy `json:"usedBy"` Type serverConsts.DiagnoseInterfaceType `json:"type"` DiagnoseInterfaceId uint `json:"diagnoseInterfaceId"` EnvironmentId uint `json:"environmentId"` ServeId uint `json:"serveId"` ServerId uint `json:"serverId"` ProjectId uint `json:"projectId"` }
type YapiCategory ¶
type YapiData ¶
type YapiData struct {
YapiCategories []YapiCategory `json:"categories"`
}
type YapiItem ¶
type YapiItem 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"` }
Click to show internal directories.
Click to hide internal directories.