yapi-cli icon indicating copy to clipboard operation
yapi-cli copied to clipboard

自动化导入go swag 2.0 ,返回data 出现混乱

Open 527554192 opened this issue 3 years ago • 0 comments

go swag 2.0 语法解析有问题。

形如如下语法格式,解析不出来。升级swag client 后,手动拖拽正常。自动导入异常

            "responses": {
                "200": {
                    "description": "OK",
                    "schema": {
                        "allOf": [
                            {
                                "$ref": "#/definitions/models.RtCode"
                            },
                            {
                                "type": "object",
                                "properties": {
                                    "data": {
                                        "$ref": "#/definitions/models.RtGoodsBaseInfo"
                                    }
                                }
                            }
                        ]
                    }
                }
            }
        }

527554192 avatar Jul 11 '22 08:07 527554192