{
  "swagger": "2.0",
  "info": {
    "title": "Translator-Api",
    "version": "1.0"
  },
  "paths": {
    "/api/Translator": {
      "post": {
        "tags": [
          "Translator"
        ],
        "operationId": "GetTranslations",
        "consumes": [
          "application/json",
          "text/json",
          "application/*+json"
        ],
        "produces": [
          "text/plain",
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/TextsToTranslateModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TranslatedTextReturnModel"
            }
          }
        }
      }
    },
    "/api/Translator/GetHash": {
      "post": {
        "tags": [
          "Translator"
        ],
        "consumes": [
          "application/json",
          "text/json",
          "application/*+json"
        ],
        "produces": [
          "text/plain",
          "application/json",
          "text/json"
        ],
        "parameters": [
          {
            "in": "body",
            "name": "body",
            "schema": {
              "$ref": "#/definitions/TextsToTranslateModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TranslatedTextReturnModel"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "TextsToTranslateModel": {
      "type": "object",
      "properties": {
        "textsToTranslate": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TextsToTranslatePropModel"
          },
          "x-nullable": true
        },
        "passKey": {
          "type": "string",
          "x-nullable": true
        }
      },
      "additionalProperties": false
    },
    "TextsToTranslatePropModel": {
      "type": "object",
      "properties": {
        "textToTranslate": {
          "type": "string",
          "x-nullable": true
        },
        "twoLetterIsoCountryTranslateTo": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "x-nullable": true
        }
      },
      "additionalProperties": false
    },
    "TranslatedTextReturnModel": {
      "type": "object",
      "properties": {
        "translatedTexts": {
          "type": "object",
          "x-nullable": true
        },
        "isSuccessful": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  },
  "tags": [
    {
      "name": "Translator"
    }
  ]
}