123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "swagger": "2.0",
- "info": {
- "title": "beego Test API",
- "description": "beego has a very cool tools to autogenerate documents for your API",
- "version": "1.0.0",
- "termsOfService": "http://beego.me/",
- "contact": {
- "email": "astaxie@gmail.com"
- },
- "license": {
- "name": "Apache 2.0",
- "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
- }
- },
- "basePath": "/v1",
- "paths": {
- "/image/svg_to_png": {
- "post": {
- "tags": [
- "image"
- ],
- "description": "图片上传接口",
- "operationId": "ImageController.图片上传",
- "parameters": [
- {
- "in": "query",
- "name": "Img",
- "description": "图片base64字符串",
- "required": true,
- "type": "string"
- },
- {
- "in": "query",
- "name": "Sign",
- "description": "策略组提供的资源id",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "新增成功"
- }
- }
- }
- },
- "/wechat/send_template_msg": {
- "post": {
- "tags": [
- "wechat"
- ],
- "description": "推送模板消息",
- "operationId": "WechatController.推送模板消息",
- "responses": {
- "200": {
- "description": "新增成功"
- }
- }
- }
- }
- },
- "tags": [
- {
- "name": "wechat",
- "description": "发送模板消息\n"
- }
- ]
- }
|