core.json 1.2 KB
{
  "swagger": "2.0",
  "info": {
    "title": "",
    "version": ""
  },
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "v1/health": {
      "get": {
        "summary": "健康",
        "operationId": "miniHealth",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/MiniHealthResposne"
            }
          }
        },
        "requestBody": {},
        "tags": [
          "tool"
        ]
      }
    }
  },
  "definitions": {
    "MiniHealthRequest": {
      "type": "object",
      "title": "MiniHealthRequest"
    },
    "MiniHealthResposne": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "boolean",
          "format": "boolean"
        }
      },
      "title": "MiniHealthResposne",
      "required": [
        "ok"
      ]
    }
  },
  "securityDefinitions": {
    "apiKey": {
      "type": "apiKey",
      "description": "Enter JWT Bearer token **_only_**",
      "name": "Authorization",
      "in": "header"
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ]
}