{
  "openapi": "3.0.0",
  "info": {
    "title": "loopback4-example-github",
    "version": "0.0.1",
    "description": "loopback4-example-github",
    "contact": {
      "name": "Diana Lau",
      "email": "dhmlau@ca.ibm.com"
    }
  },
  "paths": {
    "/issues/repo/{repo}/label/{label}": {
      "get": {
        "x-controller-name": "GhQueryController",
        "x-operation-name": "getIssuesByLabel",
        "tags": [
          "GhQueryController"
        ],
        "responses": {
          "200": {
            "description": "Array of GitHub issues info",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryResult"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "repo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "label",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "GhQueryController.getIssuesByLabel"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    }
  },
  "servers": [
    {
      "url": "https://nodejs-1704.nodejsk8s.dev.nubes.ru"
    }
  ],
  "components": {
    "schemas": {
      "ResultIssueInfo": {
        "title": "ResultIssueInfo",
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "age": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "QueryResult": {
        "title": "QueryResult",
        "type": "object",
        "properties": {
          "total_count": {
            "type": "number"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResultIssueInfo"
            }
          }
        },
        "additionalProperties": false
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      }
    }
  }
}