Skip to content

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

@527554192

Description

@527554192

go swag 2.0 语法解析有问题。

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions