core.json 1.4 KB
{
  "swagger": "2.0",
  "info": {
    "title": "",
    "version": ""
  },
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "v1/health": {
      "post": {
        "summary": "健康",
        "operationId": "miniHealth",
        "responses": {
          "200": {
            "description": "A successful response.",
            "schema": {
              "$ref": "#/definitions/MiniHealthResposne"
            }
          }
        },
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MiniHealthRequest"
            }
          }
        ],
        "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": []
    }
  ]
}