core.json 1.7 KB
{
  "swagger": "2.0",
  "info": {
    "title": "",
    "version": ""
  },
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "v1/mini/comment": {
      "get": {
        "summary": "小程序评论",
        "operationId": "miniComment",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/CommentResposne"
            }
          }
        },
        "requestBody": {},
        "tags": [
          "comment"
        ]
      }
    },
    "v1/system/comment": {
      "get": {
        "summary": "系统评论",
        "operationId": "systemComment",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/CommentResposne"
            }
          }
        },
        "requestBody": {},
        "tags": [
          "comment"
        ]
      }
    }
  },
  "definitions": {
    "Comment": {
      "type": "object",
      "title": "Comment"
    },
    "CommentRequest": {
      "type": "object",
      "title": "CommentRequest"
    },
    "CommentResposne": {
      "type": "object",
      "properties": {
        "list": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/Comment"
          }
        }
      },
      "title": "CommentResposne",
      "required": [
        "list"
      ]
    }
  },
  "securityDefinitions": {
    "apiKey": {
      "type": "apiKey",
      "description": "Enter JWT Bearer token **_only_**",
      "name": "Authorization",
      "in": "header"
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ]
}