{
  "openapi": "3.0.1",
  "info": {
    "title": "HTTP Trigger blog01",
    "description": "HTTP Trigger Sample",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "http://ss.dataspidercloud.com/"
    }
  ],
  "paths": {
    "/ws/trigger/blog01": {
      "post": {
        "summary": "blog01",
        "parameters": [
          {
            "name": "cid",
            "in": "query",
            "description": "Contract Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sid",
            "in": "query",
            "description": "Server Id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ak",
            "in": "query",
            "description": "Basic Auth key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/target"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/target"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/session"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/session"
                }
              }
            }
          },
          "405": {
            "description": "Invalid input",
            "content": {}
          }
        },
        "x-codegen-request-body-name": "body"
      }
    }
  },
  "components": {
    "schemas": {
      "session": {
        "type": "string",
        "xml": {
          "name": "session"
        }
      },
      "target": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string"
          }
        },
        "xml": {
          "name": "target"
        }
      }
    }
  }
}