Versions in this module Expand all Collapse all v1 v1.2.0 Nov 10, 2026 v1.1.1 Nov 10, 2026 v1.1.0 Nov 10, 2026 Changes in this version + var TablePrefix string + func SetTablePrefix(p string) + type ImportResult struct + APIsImported int + Format string + GroupsCreated int + GroupsMerged int + ParametersImported int + Warnings []string v1.0.0 Nov 9, 2026 Changes in this version + const WireFormat + const WireVersion + var APITypes = []string + var HTTPMethods = []string + var ParamTypes = []string + var ParamValueTypes = []string + func CountNodes(nodes []ParamNode) int + func IsValidAPIType(t string) bool + func IsValidMethod(m string) bool + func IsValidParamType(t string) bool + func IsValidParamValueType(t string) bool + type API struct + CreatedAt int64 + Endpoint string + Group *Group + GroupID uint + ID uint + Method string + Name string + Note *string + Order int + Parameters []Parameter + Type string + UpdatedAt int64 + func (API) TableName() string + func (a API) MarshalJSON() ([]byte, error) + type Group struct + APIs []API + CreatedAt int64 + ID uint + Name string + Order int + UpdatedAt int64 + func (Group) TableName() string + func (g Group) MarshalJSON() ([]byte, error) + type ImportAPI struct + Endpoint string + Method string + Name string + Note *string + Request []ParamNode + Response []ParamNode + Type string + type ImportFormat string + const ImportFormatKnot + const ImportFormatOpenAPI + const ImportFormatPostman + type ImportGroup struct + APIs []ImportAPI + Name string + type ImportPlan struct + Groups []ImportGroup + Warnings []string + type KnotExportAPI struct + Endpoint string + Method string + Name string + Note *string + Order int + Parameters KnotExportParams + Type string + type KnotExportDocument struct + ExportedAt string + Format string + Groups []KnotExportGroup + Version int + type KnotExportGroup struct + APIs []KnotExportAPI + Name string + Order int + type KnotExportParams struct + Request []ParamNode + Response []ParamNode + type ParamNode struct + Children []ParamNode + Description *string + Name string + Order int + Required bool + Type string + func ParamNodesFromJSONValue(v interface{}) []ParamNode + func TreeFromParams(params []Parameter) []ParamNode + type Parameter struct + API *API + APIID uint + Children []Parameter + CreatedAt int64 + Description *string + ID uint + Name string + Order int + ParamType string + Parent *Parameter + ParentID *uint + Required bool + Type string + UpdatedAt int64 + func (Parameter) TableName() string + func (p Parameter) MarshalJSON() ([]byte, error)