{
    "swagger": "2.0",
    "info": {
        "contact": {}
    },
    "paths": {
        "/": {
            "get": {
                "description": "get service info",
                "consumes": [
                    "application/json"
                ],
                "produces": [
                    "application/json"
                ],
                "tags": [
                    "service"
                ],
                "summary": "get service info",
                "responses": {
                    "200": {
                        "description": "OK",
                        "schema": {
                            "allOf": [
                                {
                                    "$ref": "#/definitions/message.Result"
                                },
                                {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/definitions/message.GetServiceInfoResp"
                                        }
                                    }
                                }
                            ]
                        }
                    },
                    "500": {
                        "description": "Internal Server Error",
                        "schema": {
                            "$ref": "#/definitions/message.Result"
                        }
                    }
                }
            }
        }
    },
    "definitions": {
        "message.GetServiceInfoResp": {
            "type": "object",
            "properties": {
                "serviceName": {
                    "type": "string"
                }
            }
        },
        "message.Result": {
            "type": "object",
            "properties": {
                "code": {
                    "description": "http error code",
                    "type": "integer"
                },
                "data": {
                    "description": "The returned content, storage in JSON format"
                },
                "message": {
                    "description": "http error msg",
                    "type": "string"
                }
            }
        }
    }
}