{ "swagger": "2.0", "info": { "title": "ads.proto", "version": "version not set" }, "tags": [ { "name": "Fetch" } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": {}, "definitions": { "adsAdsItem": { "type": "object", "properties": { "id": { "type": "string", "format": "int64" }, "title": { "type": "string", "title": "广告名称" }, "content": { "type": "string", "title": "广告内容" }, "type": { "type": "integer", "format": "int32", "title": "广告类型 1.文本 2.图片 3.视频" }, "toUrl": { "type": "string" }, "created": { "type": "string" } } }, "adsByPosReply": { "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "$ref": "#/definitions/adsAdsItem" } } } }, "protobufAny": { "type": "object", "properties": { "@type": { "type": "string" } }, "additionalProperties": {} }, "rpcStatus": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" }, "details": { "type": "array", "items": { "type": "object", "$ref": "#/definitions/protobufAny" } } } } } }