Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + var PRESALE_SURVEY = ApiSpec + func NewSwagger(title string) *openapi3.Swagger + type ApiSpec struct + Audit func(ctx *spec.AuditContext) error + BackendPath string + CheckBasicAuth bool + CheckLogin bool + CheckToken bool + ChunkAPI bool + Custom func(rw http.ResponseWriter, req *http.Request) + CustomResponse func(*http.Response) error + Doc string + Group string + Host string + IsOpenAPI bool + K8SHost string + Method string + NeedDesensitize bool + Parameters *Parameters + Path string + RequestType interface{} + ResponseType interface{} + Scheme string + TryCheckLogin bool + func (api *ApiSpec) AddOperationTo(v3 *openapi3.Swagger) error + func (api *ApiSpec) IsValidForOperation() bool + func (api ApiSpec) Convert2AccessibleApi() apistructs.AccessibleAPI + type Parameters struct + Body interface{} + Header http.Header + QueryValues url.Values + Response interface{} + Tag string