title: Swagger UI returns "no content" in the Response Body, and Response Code 0
body: <p>I'm newer to <strong>Swagger UI</strong>.  I use swagger with <strong>Json</strong>. When the response is also <strong>Json</strong>. When clicking <strong>Try it Out</strong>, I see a correct Request <code>URL</code>, but the <strong>Swagger UI</strong> returns <code>"no content"</code> in the <strong>Response Body</strong>, and <strong>Response Code</strong> <code>0</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/F3vad.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F3vad.jpg" alt="Swagger"></a></p>
  
  <p>Mentioned that <strong>API's URL</strong> is not <strong>publicly</strong> accessible, but the site that hosts the <strong>Swagger UI</strong> is in the same network as the site that hosts the API.</p>
  
  <p>I see <a href="https://stackoverflow.com/questions/32990365/getting-response-code-0-in-api-manager-wso2-while-trying-to-connect-through-ente">this</a> stack overflow question, but not found the solution.</p>
  
  <p><strong>My Swagger.Json file:</strong></p>
  
  <pre><code>{
      "swagger": "2.0",
      "info": {
          "version": "1.0.0",
          "title": "Swagger for Rest API",
          "description": "A sample API that uses a application as an example to demonstrate features in the swagger-2.0 specification",
          "termsOfService": "http://helloreverb.com/terms/",
          "contact": {
              "name": "Swagger API team",
              "email": "abc@gmail.com",
              "url": "http://xxxx.com"
          },
          "license": {
              "name": "MIT",
              "url": "http://opensource.org/licenses/MIT"
          }
      },
      "host": "localhost:85xx",
      "basePath": "/v1",
      "schemes": [
          "http"
      ],
      "consumes": [
          "application/json"
      ],
      "produces": [
          "application/json"
      ],
      "paths": {
          "/test/{username}/{albumname}/{imagename}": {
              "get": {
                  "description": "Returns all images from the system that the user has access to",
                  "operationId": "findface",
                  "produces": [
                      "application/json",
                      "application/xml"
                  ],
                  "parameters": [
                      {
                          "name": "username",
                          "in": "path",
                          "description": "tags to filter by",
                          "required": true,
                          "type": "string"
                      },
                      {
                          "name": "albumname",
                          "in": "path",
                          "description": "maximum number of results to return",
                          "required": true,
                          "type": "string"
                      },
                      {
                          "name": "imagename",
                          "in": "path",
                          "description": "maximum number of results to return",
                          "required": true,
                          "type": "string"
                      }
                  ],
                  "responses": {
                      "200": {
                          "description": "OK",
                          "schema": {
                              "type": "array",
                              "items": {
                                  "$ref": "#/definitions/test1"
                              }
                          }
                      },
                      "default": {
                          "description": "unexpected error",
                          "schema": {
                              "$ref": "#/definitions/errorModel"
                          }
                      }
                  }
              }
          }
      },
      "definitions": {
          "test1": {
              "type": "object",
              "required": [
                  "id",
                  "name"
              ],
              "properties": {
                  "id": {
                      "type": "integer",
                      "format": "int64"
                  },
                  "name": {
                      "type": "string"
                  },
                  "tag": {
                      "type": "string"
                  }
              }
          },
          "errorModel": {
              "type": "object",
              "required": [
                  "code",
                  "message"
              ],
              "properties": {
                  "code": {
                      "type": "integer",
                      "format": "int32"
                  },
                  "message": {
                      "type": "string"
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>Please can any one help.
  Thank in Advance.</p>