The steps I took to solve the problem

  1.  First I loaded buy viagra online cheapestin Chrome.

If you want to follow along, you will need to create an SwaggerHub account

I then imported the generated Swagger JSON from my API, as shown below:

import

  1.  I pasted in the URL to my Swagger file and gave it a distinct name.

 The Swagger is formatted in cheapest place to buy viagra online.  This makes it easier to edit than JSON.   🙂

  1.  In the Editor, I removed the duplicate Status Codes as seen starting on Line 127 below.

swagger1
swagger2
swagger3
swagger4
swagger5

If you look at Line 100, you will see Definitions.  Definitions are used to generate the Model classes.

  1.  On Line 198, the generated class name would be Microsoft.Azure.Documents.StoredProcedures.  I changed that to StoredProcedures. 
  2.  On Line 113, I changed the name to StoredProcedureResponse as shown above.

  3.  I went even further and added additional description and summary information, since this is used to create comments in the generated code.

  4.  I  downloaded the formatted Swagger JSON from SwaggerHub.  The following is final Swagger JSON file.

{
  "swagger" : "2.0",
  "info" : {
    "description" : "DocumentDB Stored Procedures API ",
    "version" : "1.0.2",
    "title" : "DocDbSpApi",
    "contact" : {
      "name" : "Howard S. Edidin",
      "url" : "http://edidin-group.com",
      "email" : "hedidin@edidingroup.net"
    },
    "license" : {
      "name" : "LICENSE",
      "url" : "https://github.com/HEDIDIN/DocDBApi5/blob/master/LICENSE"
    }
  },
  "host" : "XXXXXXXX.documents.azure.com:443",
  "basePath" : "/dbs",
  "schemes" : [ "https" ],
  "paths" : {
    "/fhir/colls/patient/sprocs" : {
      "get" : {
        "tags" : [ "StoredProcedure" ],
        "summary" : "Get Stored Procedures List",
        "description" : "Get an array of all stored procedures.\n- Read the feed 10 items at a time until there are no more items to read",
        "operationId" : "GetListOfStoredProcedures",
        "consumes" : [ ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "authorization",
          "in" : "header",
          "description" : "The authentication type and signature token. Both master key and resource tokens are allowed for this operation. \n\n - ** <c>type={typeoftoken}%26ver={tokenversion}%26sig={hashsignature}</c>**",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "x-ms-date",
          "in" : "header",
          "description" : "The date of the request The date is expressed in **Coordinated Universal Time format**.\n  - <sample> Fri, 08 Apr 2015 03:52:31 GMT</sample>",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "x-ms-version",
          "in" : "header",
          "description" : "The version of DocumentDB REST service. The latest version is used when the header is not provided use\n - <c>2015-08-06</c>",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "User-Agent",
          "in" : "header",
          "description" : "_Optional._ The string of client user agent performing the request. \n\n The recommended format is \n  \n  **<c>{user agent name}/{version}</c>**",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "schema" : {
              "type" : "array",
              "items" : {
                "$ref" : "#/definitions/StoredProcedure"
              }
            }
          },
          "404" : {
            "description" : "Not Found - This means the resource feed you tried to read did not exist."
          },
          "429" : {
            "description" : "TooManyRequests - This means you have exceeded the number of request units per second."
          },
          "500" : {
            "description" : "Internal Server Error"
          }
        }
      }
    },
    "/fhir/colls/patient/sprocs/{rid-proc}" : {
      "post" : {
        "tags" : [ "StoredProcedure" ],
        "summary" : "Execute a Stored Procedure",
        "description" : "**Execute a Stored Procedure**\n-  For information on how stored procedures work, including execution of a stored procedure, see [DocumentDB programming Stored procedures](http://azure.microsoft.com/en-us/documentation/articles/documentdb-programming/)",
        "operationId" : "ExecuteAStoredProcedure",
        "consumes" : [ "application/json" ],
        "produces" : [ "application/json" ],
        "parameters" : [ {
          "name" : "authorization",
          "in" : "header",
          "description" : "The authentication type and signature token. Both master key and resource tokens are allowed for this operation. \n\n - ** <c>type={typeoftoken}%26ver={tokenversion}%26sig={hashsignature}</c>**",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "x-ms-date",
          "in" : "header",
          "description" : "The date of the request The date is expressed in **Coordinated Universal Time format**.\n  - <sample> **Fri, 08 Apr 2015 03:52:31 GMT**</sample>",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "x-ms-version",
          "in" : "header",
          "description" : "The version of DocumentDB REST service. The latest version is used when the header is not provided use\n - **<c>2015-08-06</c>**",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "Content-Type",
          "in" : "header",
          "description" : "Required. The Content-Type header must be **application/json.**",
          "required" : true,
          "type" : "string",
          "default" : "application/query+json"
        }, {
          "name" : "x-ms-documentdb-query-enable-scan",
          "in" : "header",
          "required" : true,
          "type" : "boolean",
          "default" : true
        }, {
          "name" : "x-ms-documentdb-isquery",
          "in" : "header",
          "required" : true,
          "type" : "boolean",
          "default" : true
        }, {
          "in" : "body",
          "name" : "queryRequest",
          "description" : "The Query body",
          "required" : true,
          "schema" : {
            "$ref" : "#/definitions/QueryRequest"
          },
          "x-ms-summary" : "Query Request body"
        }, {
          "name" : "rid-proc",
          "in" : "path",
          "description" : "The Proc Id",
          "required" : true,
          "type" : "string"
        }, {
          "name" : "User-Agent",
          "in" : "header",
          "description" : "_Optional_. The string of client user agent performing the request. \n\n  The recommended format is\n    \n  **<c>{user agent name}/{version}</c>**",
          "required" : false,
          "type" : "string"
        } ],
        "responses" : {
          "200" : {
            "description" : "Success",
            "schema" : {
              "$ref" : "#/definitions/StoredProcedureResponse"
            }
          },
          "400" : {
            "description" : "BadRequest -The syntax of the SQL statement is incorrect"
          },
          "500" : {
            "description" : "Internal Server Error"
          }
        }
      }
    }
  },
  "definitions" : {
    "QueryRequest" : {
      "type" : "object",
      "properties" : {
        "querystring" : {
          "type" : "string",
          "description" : "The SQL query string for the query"
        },
        "parameters" : {
          "type" : "array",
          "description" : "A JSON array of parameters specified as name value pairs. The parameter array can contain from zero to many parameters.Each parameter must have the following values:name: the name of the parameter. Parameter names must be valid string literals and begin with ‘@’.value: the value of the parameter. Can be any valid JSON value (string, number, object, array, Boolean or null).",
          "items" : {
            "type" : "string"
          }
        }
      },
      "description" : "Perform a SQL query Request on a resource"
    },
    "StoredProcedureResponse" : {
      "type" : "object",
      "properties" : {
        "ActivityId" : {
          "type" : "string",
          "readOnly" : true
        },
        "SessionToken" : {
          "type" : "string",
          "readOnly" : true
        },
        "StatusCode" : {
          "type" : "integer",
          "format" : "int32",
          "readOnly" : true,
          "enum" : [ 200, 201, 204, 400, 401, 403, 404, 408, 409, 410, 412, 413, 429 ]
        },
        "MaxResourceQuota" : {
          "type" : "string",
          "readOnly" : true
        },
        "CurrentResourceQuotaUsage" : {
          "type" : "string",
          "readOnly" : true
        },
        "RequestCharge" : {
          "type" : "number",
          "format" : "double",
          "readOnly" : true
        },
        "ResponseHeaders" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/System.Object"
          }
        },
        "Response" : {
          "type" : "string",
          "readOnly" : true
        }
      }
    },
    "System.Object" : {
      "type" : "object"
    },
    "StoredProcedure" : {
      "type" : "object",
      "properties" : {
        "body" : {
          "type" : "string"
        },
        "id" : {
          "type" : "string"
        },
        "_rid" : {
          "type" : "string"
        },
        "_self" : {
          "type" : "string"
        },
        "_ts" : {
          "type" : "string",
          "format" : "date-time"
        },
        "_etag" : {
          "type" : "string"
        }
      }
    }
  }
}

Next Steps

buy cheapest viagra online uk