Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Diff ¶
func Diff(ref_obj, diff_obj *spec.CollectItem) (*spec.CollectItem, error)
Diff 比较两个接口的差异 source,target 是完整的spec对象 因为需要解析schema等依赖 spec.Collections 里面只能有一个接口 返回对比后的两个接口 其中只有最新的那个 也就是target里边会通过x-apicat-diff标记是否有差异 差异并不包含排序
func IsChangedBasic ¶
func IsChangedBasic(ref_obj, diff_obj *spec.CollectItem) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.