{"action":"closed","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3315","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3315/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3315/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/3315/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/3315","id":164193713,"number":3315,"title":"Swagger stack on fetching resource list: http://localhost:8080/api-docs; Please wait.","user":{"login":"saharj","id":1468463,"avatar_url":"https://avatars.githubusercontent.com/u/1468463?v=3","gravatar_id":"","url":"https://api.github.com/users/saharj","html_url":"https://github.com/saharj","followers_url":"https://api.github.com/users/saharj/followers","following_url":"https://api.github.com/users/saharj/following{/other_user}","gists_url":"https://api.github.com/users/saharj/gists{/gist_id}","starred_url":"https://api.github.com/users/saharj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saharj/subscriptions","organizations_url":"https://api.github.com/users/saharj/orgs","repos_url":"https://api.github.com/users/saharj/repos","events_url":"https://api.github.com/users/saharj/events{/privacy}","received_events_url":"https://api.github.com/users/saharj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Issue:%20Bug","name":"Issue: Bug","color":"e11d21"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Server:%20Nodejs","name":"Server: Nodejs","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.2","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13/labels","id":1928763,"number":13,"title":"v2.2.2","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":193,"closed_issues":10,"state":"open","created_at":"2016-08-08T09:16:56Z","updated_at":"2016-08-09T11:52:44Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-07-06T22:56:13Z","updated_at":"2016-08-09T11:52:44Z","closed_at":"2016-08-09T11:52:43Z","body":"_From @reuvenk on July 5, 2016 12:57_\n\n**Note on code generation issues**\r\nPlease open an issue in [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) repository for any issue with generating code or issues with generated codes.\r\n\r\n**My Swagger**\r\nVersion 2.9.9\r\n```yaml\r\n # paste your swagger document here\r\nswagger: '2.0'\r\ninfo:\r\n  title: AIC formation API\r\n  description: AIC formation API\r\n  version: 1.0.0\r\nhost: server\r\nbasePath: /af\r\npaths:\r\n  '/sites':\r\n    get:\r\n      parameters:\r\n        - name: locationType\r\n          in: query\r\n          description: is filter by location type required\r\n          type: string\r\n      summary: return list of sites\r\n      description: return list of all sites in AIC Formation\r\n      tags:\r\n        - Sites\r\n      responses:\r\n        '200':\r\n          description: An array of sites\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Site'\r\n        '401':\r\n          description: unauthorized\r\n  '/sites/{siteId}':\r\n    parameters:\r\n      - name: siteId\r\n        in: path\r\n        description: site ID or site name (eg. 1 or AAA)\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return site \r\n      description: return site matching the given site ID or site name\r\n      tags:\r\n        - Sites\r\n      responses:\r\n        '200':\r\n          description: site\r\n          schema:\r\n            $ref: '#/definitions/Site'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/openStackNetworkRanges/{vlanId}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or name (eg. 1 or AAA1)\r\n        type: string\r\n        required: true\r\n      - name: vlanId\r\n        in: path\r\n        description: vlan ID - number that describes the vlan(1300 = Hypervisor, 1320 = iSCSI, 1022 = OOB Access, 1321 = OAM, 1330 = vMotion, 1319 = PXE1, 1318 = PXE2)\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return a list of subnets per LCP type (a,b,null) for each of the subnet types.\r\n      description: return a list of subnets per LCP type (a,b,null) for each of the subnet types.\r\n      tags:\r\n        - Vlans\r\n      responses:\r\n        '200':\r\n          description: List of NetworkRange per LCP type (a, b, null) \r\n          schema:\r\n            $ref: '#/definitions/NetworkRange'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/sites/{siteId}/zones':\r\n    parameters:\r\n      - name: siteId\r\n        in: path\r\n        description: site ID or site Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      parameters:\r\n        - name: designType\r\n          in: query\r\n          description: is filter by design type required\r\n          type: string\r\n      summary: return list of zones\r\n      description: return list of zones\r\n      tags:\r\n        - Zones\r\n      responses:\r\n        '200':\r\n          description: An array of zones\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Zone'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones':\r\n    get:\r\n      parameters:\r\n        - name: designType\r\n          in: query\r\n          description: is filter by design type required\r\n          type: string\r\n      summary: return list of zones\r\n      description: return list of zones\r\n      tags:\r\n        - Zones\r\n      responses:\r\n        '200':\r\n          description: An array of zones\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Zone'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return zone matching the given param (zone ID or zone Name)\r\n      description: return zone matching the given param (zone ID or zone Name)\r\n      tags:\r\n        - Zones\r\n      responses:\r\n        '200':\r\n          description: zone\r\n          schema:\r\n            $ref: '#/definitions/Zone'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/racks':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: \"return list of zone's racks\"\r\n      description: \"return list of zone's racks\"\r\n      tags:\r\n        - Racks\r\n      responses:\r\n        '200':\r\n          description: An array of racks\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Rack'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/clientProgressTracking':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID\r\n        type: string\r\n        required: true\r\n      - name: zoneStatus\r\n        in: body\r\n        description: new zone status update\r\n        schema:\r\n            $ref: '#/definitions/ClientProgressTracking'\r\n        required: true\r\n    post:\r\n      summary: \"send a zone status update\"\r\n      description: \"update the zone with erros / warnings from our clients API\"\r\n      tags:\r\n        - Zones\r\n      responses:\r\n        '200':\r\n          description: zone status updated\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/racks/{rackId}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: rackId\r\n        in: path\r\n        description: rack ID or rack Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return rack matching the given param (rack ID or rack Name)\r\n      description: return rack matching the given param (rack ID or rack Name)\r\n      tags:\r\n        - Racks\r\n      responses:\r\n        '200':\r\n          description: rack\r\n          schema:\r\n            $ref: '#/definitions/Rack'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/devices':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: \"return list of zone's devices\"\r\n      description: \"return list of zone's devices\"\r\n      parameters:\r\n        - name: rack\r\n          in: query\r\n          description: is filter by given rack required\r\n          type: string\r\n        - name: type\r\n          in: query\r\n          description: Device (node) that its hypervisor type is KVM. This type of node includes KVM instances only.\r\n          required: true\r\n          type: string\r\n      tags:\r\n        - Devices\r\n      responses:\r\n        '200':\r\n          description: An array of devices\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Device'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/devices/{param}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: param\r\n        in: path\r\n        description: device ID or device AIC Standard Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return device matching the given param (device ID or device AIC Standard Name)\r\n      description: return device matching the given param (device ID or device AIC Standard Name)\r\n      tags:\r\n        - Devices\r\n      responses:\r\n        '200':\r\n          description: device\r\n          schema:\r\n            $ref: '#/definitions/Device'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{id}/controlNodes':\r\n    get:\r\n      summary: List of VMs on the control Nodes in the zone\r\n      description: |\r\n        The controlNodes endpoint returns information about the 4 VMs used as LCP nodes in the requested zone.\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          description: zone ID or zone Name\r\n          required: true\r\n          type: number\r\n          format: int\r\n      tags:\r\n        - VMs\r\n        - Bootstrap\r\n      responses:\r\n        200:\r\n          description: An array of instances (LCP VMs)\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Device'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{id}/devices?type=kvm':\r\n    get:\r\n      summary: List of all VMs on the bootstrap nodes in the zone\r\n      description: |\r\n         The BootstrapVMs endpoint returns information about all VMs on the bootstrap node in the requested zone.\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          description: zone ID or zone Name\r\n          required: true\r\n          type: number\r\n          format: int\r\n      tags:\r\n        - VMs\r\n        - Devices\r\n      responses:\r\n        200:\r\n          description: An array of instances (VMs on bootstrap node)\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Device'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/virtualConnections':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: \"return list of zone's virtual connections\"\r\n      description: \"return list of zone's virtual connections\"\r\n      tags:\r\n       - VirtualConnections\r\n      responses:\r\n        '200':\r\n          description: An array of virtual connections\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/VirtualConnection'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/virtualConnections/{connectionId}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: connectionId\r\n        in: path\r\n        description: virtual connection ID\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return virtual connection matching the given ID\r\n      description: return virtual connection matching the given ID\r\n      tags:\r\n        - VirtualConnections\r\n      responses:\r\n        '200':\r\n          description: virtual connections\r\n          schema:\r\n            $ref: '#/definitions/VirtualConnection'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/cables':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      parameters:\r\n        - name: rack\r\n          in: query\r\n          description: is filter by given rack required\r\n          type: string\r\n      summary: \"return list of zone's cables\"\r\n      description: \"return list of zone's cables\"\r\n      tags:\r\n        - Cables\r\n      responses:\r\n        '200':\r\n          description: An array of cables\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Cable'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/cables/{cableId}':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: cableId\r\n        in: path\r\n        description: cable ID\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: return cable matching the given ID\r\n      description: return cable matching the given ID\r\n      tags:\r\n        - Cables\r\n      responses:\r\n        '200':\r\n          description: cables\r\n          schema:\r\n            $ref: '#/definitions/Cable'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Not Found\r\n  '/zones/{zoneId}/devices/{deviceId}/vlans':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: deviceId\r\n        in: path\r\n        description: device ID or device AIC Standard Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: \"return list of device's vlans\"\r\n      description: \"return list of device's vlans\"\r\n      tags:\r\n        - Vlans\r\n      responses:\r\n        '200':\r\n          description: An array of vlans\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/VLan'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{zoneId}/vms/{vmId}/vlans':\r\n    parameters:\r\n      - name: zoneId\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: string\r\n        required: true\r\n      - name: vmId\r\n        in: path\r\n        description: device ID or device AIC Standard Name\r\n        type: string\r\n        required: true\r\n    get:\r\n      summary: \"return list of vm's vlans\"\r\n      description: \"return list of vm's vlans\"\r\n      tags:\r\n        - Vlans\r\n      responses:\r\n        '200':\r\n          description: An array of vlans\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/VLan'\r\n        '401':\r\n          description: unauthorized\r\n  '/locationTypes':\r\n    get:\r\n      summary: return list of values matching the given meta data list\r\n      description: return list of values matching the given meta data list\r\n      tags:\r\n        - Metadata\r\n      responses:\r\n        '200':\r\n          description: Meta data\r\n          schema:\r\n            $ref: '#/definitions/Metadata'\r\n        '401':\r\n          description: unauthorized\r\n  '/designTypes':\r\n    get:\r\n      summary: return list of values matching the given meta data list\r\n      description: return list of values matching the given meta data list\r\n      tags:\r\n        - Metadata\r\n      responses:\r\n        '200':\r\n          description: Meta data\r\n          schema:\r\n            $ref: '#/definitions/Metadata'\r\n        '401':\r\n          description: unauthorized\r\n  '/powerTypes':\r\n    get:\r\n      summary: return list of values matching the given meta data list\r\n      description: return list of values matching the given meta data list\r\n      tags:\r\n        - Metadata\r\n      responses:\r\n        '200':\r\n          description: Meta data\r\n          schema:\r\n            $ref: '#/definitions/Metadata'\r\n        '401':\r\n          description: unauthorized\r\n  '/mediaTypes':\r\n    get:\r\n      summary: return list of values matching the given meta data list\r\n      description: return list of values matching the given meta data list\r\n      tags:\r\n        - Metadata\r\n      responses:\r\n        '200':\r\n          description: Meta data\r\n          schema:\r\n            $ref: '#/definitions/Metadata'\r\n        '401':\r\n          description: unauthorized\r\n  '/zones/{id}/luns':\r\n    get:\r\n      summary: Storage assignments report, list of LUNs.\r\n      description: |\r\n        The Storage endpoint returns list of storage info that are LUNs.\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          description: zone ID or zone Name\r\n          required: true\r\n          type: number\r\n          format: int\r\n      tags:\r\n        - LUNs\r\n      responses:\r\n        200:\r\n          description: An array of LUNs.\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/Lun'\r\n        401:\r\n          description: unauthorized\r\n    post:\r\n      summary: Stores storage info in database.\r\n      description: |\r\n        The Storage endpoint stores storage info in database.\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          description: zone ID or zone Name\r\n          required: true\r\n          type: number\r\n          format: int64\r\n        - name: Luns\r\n          in: body\r\n          description: List of Lun\r\n          required: true\r\n          schema:\r\n            $ref: '#/definitions/Lun'\r\n      tags:\r\n        - LUNs\r\n      responses:\r\n        '201':\r\n          description: LUN data added.\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Could be Invalid data format %s /  Invalid Lun id  [%s] /  Invalid Lun size  [%s]\r\n  '/zones/{id}/lunsVmMapping':\r\n    get:\r\n      summary: Get vm lun mapping.\r\n      description: |\r\n        Should be called after storage team has entered the LUN info using REST and after the designer maps LUN Data for every VM.\r\n      parameters:\r\n        - name: id\r\n          in: path\r\n          description: zone ID or zone Name\r\n          required: true\r\n          type: number\r\n          format: int\r\n      tags:\r\n        - LUNs\r\n        - VMs\r\n      responses:\r\n        '200':\r\n          description: returns list of LunVmMapping in body.\r\n          schema:\r\n            type: array\r\n            items:\r\n              $ref: '#/definitions/LunVmMapping'\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Could be Invalid data format %s /  Invalid Zone [%s] / Lun Mapping not ready yet\r\n  '/zones/{id}/VLanUsages':\r\n    post:\r\n      summary: Updates list of vlans with the ip used per devices & per VM.\r\n      description: |\r\n        Used by OpSimple to assign IpV4 & IpV6 for Devices / VMs.\r\n      parameters:\r\n      - name: id\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: number\r\n        format: int64\r\n        required: true\r\n      - name: VlanUsage\r\n        in: body\r\n        description: List of VlanUsage\r\n        required: true\r\n        schema:\r\n          type: array\r\n          items:\r\n          $ref: '#/definitions/VlanUsage'\r\n      tags:\r\n        - Vlans\r\n      responses:\r\n        '200':\r\n          description: update finished OK.\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Could be Invalid data format %s /  Invalid Zone [%s] /  Invalid vlan [%s] / Invalid deviceId [%s] / Invalid VmId [%s]   \r\n  '/zones/{id}/LcpUsages':\r\n    post:\r\n      summary: Updates mapping of devices to LCP types.\r\n      description: |\r\n        Used by OpSimple to switch devices between LCP tyeps.\r\n      parameters:\r\n      - name: id\r\n        in: path\r\n        description: zone ID or zone Name\r\n        type: number\r\n        format: int\r\n        required: true\r\n      - name: LcpUsage\r\n        in: body\r\n        description: List of LcpUsage\r\n        required: true\r\n        schema:\r\n          $ref: '#/definitions/LcpUsage'\r\n      tags:\r\n        - LCPs\r\n      responses:\r\n        '200':\r\n          description: update finished OK.\r\n        '401':\r\n          description: unauthorized\r\n        '404':\r\n          description: Could be Invalid data format %s /  Invalid Zone [%s] / Invalid device [%s]\r\ndefinitions:\r\n  LcpUsage:\r\n    type: object\r\n    properties:\r\n        lcpADevices:\r\n          type: array\r\n          items:\r\n            type: integer\r\n            format: int64\r\n        lcpBDevices:\r\n          type: array\r\n          items:\r\n            type: integer\r\n            format: int64\r\n    required: \r\n      [\r\n        lcpADevices,\r\n        lcpBDevices\r\n      ]\r\n    example:\r\n      lcpADevices:\r\n        [1,2,3]\r\n      lcpBDevices:\r\n        [4,5,6]\r\n  IpUsage:\r\n    type: object\r\n    properties:\r\n        hostId:\r\n          description: \"AIC Formation Device ID / VM ID as recieved from the AIC API\"\r\n          type: integer\r\n          format: int64\r\n        ipV4:\r\n          type: array\r\n          items:\r\n            type: string\r\n        ipV6:\r\n          type: array\r\n          items:\r\n            type: string\r\n    required: \r\n      [\r\n        hostId,\r\n        ipV4\r\n      ]\r\n    example:\r\n      hostId: 1\r\n      ipV4:\r\n        [\"1.1.1.1\", \"1.1.1.3\"]\r\n      ipV6:\r\n        [\"1.1.1.2\", \"1.1.1.4\"]\r\n  VlanUsage:\r\n    type: object\r\n    properties:\r\n        vlanId:\r\n          type: string\r\n          description: \"vlan ID could be 1319 / 1318 / 1300... \"\r\n        vmUsage:\r\n          type: array\r\n          items: \r\n            $ref: '#/definitions/IpUsage'\r\n        deviceUsage:\r\n          type: array\r\n          items: \r\n            $ref: '#/definitions/IpUsage'\r\n    required: \r\n      [\r\n        vlanId,\r\n        vmUsage,\r\n        deviceUsage\r\n      ]\r\n    example:\r\n      vmUsage:\r\n        []\r\n      deviceUsage:\r\n        []\r\n  Site:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: site ID\r\n      name:\r\n        type: string\r\n        description: Site name\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      updated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n        description: last updating user\r\n      sitecol:\r\n        type: string\r\n      clli:\r\n        type: string\r\n      country:\r\n        type: string\r\n      state:\r\n        type: string\r\n      city:\r\n        type: string\r\n      region:\r\n        type: string\r\n      addressLine1:\r\n        type: string\r\n      addressLine2:\r\n        type: string\r\n      zipCode:\r\n        type: integer\r\n        format: int32\r\n      comments:\r\n        type: string\r\n      locType:\r\n        type: string\r\n      locationId:\r\n        type: string\r\n      locationAliasEquipment:\r\n        type: string\r\n      locationAliasNetwork:\r\n        type: string\r\n      serviceArea:\r\n        type: string\r\n      siteContact:\r\n        type: string\r\n      siteEmail:\r\n        type: string\r\n      siteTel:\r\n        type: string\r\n    required: \r\n      [\r\n        id,\r\n        name,\r\n        created,\r\n        updated,\r\n        lastUpdateBy,\r\n        clli,\r\n        country,\r\n        state,\r\n        city,\r\n        addressLine1,\r\n        zipCode,\r\n        locType,\r\n        locationId,\r\n        locationAliasEquipment,\r\n        locationAliasNetwork\r\n      ]\r\n    example:\r\n      id: 1\r\n      name: \"AAA\"\r\n      created: \"2016-06-30 06:21:41\"\r\n      updated: \"2016-06-30 06:21:41\"\r\n      lastUpdateBy: \"admin\"\r\n      sitecol: null\r\n      clli: \"12345678\"\r\n      country: \"USA\"\r\n      state: \"Alaska\"\r\n      city: \"Anchorage\"\r\n      region: \"North America\"\r\n      addressLine1: \"12345\"\r\n      addressLine2: null\r\n      zipCode: \"12345\"\r\n      comments: null\r\n      locType: \"NTC\"\r\n      locationId: \"12345\"\r\n      locationAliasEquipment: \"12345\"\r\n      locationAliasNetwork: \"12345\"\r\n      serviceArea: null\r\n      siteContact: null\r\n      siteEmail: null\r\n      siteTel: null\r\n  Zone:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: zone ID\r\n      name:\r\n        type: string\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      updated:\r\n        $ref: '#/definitions/Date'\r\n      lastLunVmMapping:\r\n        $ref: '#/definitions/Date'\r\n      locked_by:\r\n        type: string\r\n      lastUpdateBy:\r\n        type: string\r\n      primaryDcp:\r\n        type: string\r\n      secondaryDcp:\r\n        type: string\r\n      avialableKwPerRack:\r\n        type: string\r\n      distributedControlPlane:\r\n        type: string\r\n      numberOfComputeRack:\r\n        type: integer\r\n        format: int32\r\n      useableRackUnits:\r\n        type: integer\r\n        format: int32\r\n      zoneState:\r\n        type: string\r\n      zoneType:\r\n        $ref: '#/definitions/Metadata'\r\n      designType:\r\n        $ref: '#/definitions/Metadata'\r\n      powerType:\r\n        $ref: '#/definitions/Metadata'\r\n      zonePurpose:\r\n        $ref: '#/definitions/Metadata'\r\n      siteIds:\r\n        items:\r\n          type: string\r\n    required: \r\n      [\r\n        id,\r\n        name,\r\n        created,\r\n        updated,\r\n        lastUpdateBy,\r\n        primaryDcp,\r\n        secondaryDcp,\r\n        avialableKwPerRack,\r\n        distributedControlPlane,\r\n        useableRackUnits,\r\n        zoneState,\r\n        zoneType,\r\n        designType,\r\n        powerType,\r\n        zonePurpose\r\n      ]\r\n    example:\r\n      id: 1\r\n      name: \"AAA1\"\r\n      created: \"2016-06-30 06:21:56\"\r\n      updated: \"2016-06-30 04:12:13\"\r\n      lastLunVmMapping: \"2016-06-30 04:12:13\"\r\n      locked_by: \"\"\r\n      lastUpdateBy: \"admin\"\r\n      primaryDcp: \"N/A\"\r\n      secondaryDcp: \"N/A\"\r\n      avialableKwPerRack: \"5\"\r\n      distributedControlPlane: true\r\n      useableRackUnits\": \"42\"\r\n      zoneState: \"DESIGN_SUBMITED\"\r\n      zoneType:\r\n        id: 1\r\n        name: \"new site\"\r\n      designType:\r\n        id: 4\r\n        name: \"Medium Lite\"\r\n      powerType:\r\n        id: 2,\r\n        name: \"AC\"\r\n      zonePurpose:\r\n        id: 1,\r\n        name: \"Production\"\r\n      numberOfComputeRack: 1\r\n  Rack:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: zone ID\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      updated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n      location:\r\n        type: string\r\n      row:\r\n        type: string\r\n      name:\r\n        type: string\r\n      rackHight:\r\n        type: integer\r\n        format: int32\r\n      extraCosts:\r\n        type: string\r\n      rackType:\r\n        type: object\r\n        properties:\r\n          id:\r\n            type: integer\r\n            format: int32\r\n          name:\r\n            type: string\r\n          alias: \r\n            type: string\r\n      vendorModel:\r\n        $ref: '#/definitions/VendorModel'\r\n    required: \r\n      [\r\n        id,\r\n        created,\r\n        updated,\r\n        lastUpdateBy,\r\n        location,\r\n        name,\r\n        rackHight,\r\n        rackType,\r\n        vendorModel\r\n      ]\r\n    example:\r\n      id: 31\r\n      created: \"2016-06-30 06:21:56\"\r\n      updated: \"2016-06-30 06:22:06\"\r\n      lastUpdateBy: \"admin\"\r\n      location: \"1\"\r\n      row: null\r\n      name: \"AAA1R01\"\r\n      rackHight: 42\r\n      extraCosts: \"0.0\"\r\n      rackType:\r\n        id: 1\r\n        name: \"access\"\r\n        alias: \"a\"\r\n      vendorModel:\r\n        id: 42\r\n        model\": \"32W X 42U X 42D - SEISMIC - NO CASTERS - SENSORS - 2 X 3PHASE 60A RARITAN PDU - 24 X C13 and 12 X C19 - IEC 60309 DELTA (3P4W) PLUGS\"\r\n        vendor\": \"GAW\"\r\n        configuration: null\r\n        bootDrives: null\r\n        bootRaid\": false\r\n        dataDrives\": null\r\n        dataRaid\": false\r\n        dataCapacity\": null\r\n        hotSpares\": null\r\n        totalDrives\": null\r\n        cpus\": null\r\n        ram\": null\r\n        pcieSlots\": null\r\n        mgtPorts\": null\r\n        dataNics\": null\r\n        dataUplinkPorts\": null\r\n  Device:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: zone ID\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n      rackName:\r\n        type: string\r\n      vpmo:\r\n        type: string\r\n      function:\r\n        type: string\r\n      aicStandardName:\r\n        type: string\r\n      nvpName:\r\n        type: string\r\n      ptniiName:\r\n        type: string\r\n      numberOfUnits:\r\n        type: integer\r\n        format: int32\r\n      price:\r\n        type: integer\r\n        format: int32\r\n      startUnit:\r\n        type: integer\r\n        format: int32\r\n      vendorModel:\r\n        $ref: '#/definitions/VendorModel'\r\n      serial:\r\n        type: string\r\n      assetTag:\r\n        type: string\r\n      impiMac:\r\n        type: string\r\n      mgtMac:\r\n        type: string\r\n      purchaseOrder:\r\n        type: string\r\n      affiliateOwner:\r\n        type: string\r\n      equipmentPurpose:\r\n        type: string\r\n      bootstrap:\r\n        type: boolean\r\n      hypervisorOsType:\r\n        type: string\r\n      initiatorName:\r\n        type: string\r\n      lcpType:\r\n        type: string\r\n      virtualSubDevices:\r\n        type: array\r\n        items:\r\n            $ref: '#/definitions/virtualSubDevice'\r\n    required:\r\n      [\r\n        id,\r\n        created,\r\n        lastUpdated,\r\n        lastUpdateBy,\r\n        rackName,\r\n        function,\r\n        startUnit,\r\n        vendorModel,\r\n        bootstrap,\r\n        vpmo\r\n      ]\r\n    example:\r\n      id: 765\r\n      created: \"2016-06-30 06:21:56\"\r\n      lastUpdated: \"2016-06-30 06:21:56\"\r\n      lastUpdateBy: \"admin\"\r\n      aicStandardName: \"AAA1R01C004\"\r\n      rackName: \"AAA1R01\"\r\n      function: \"ld server\"\r\n      nvpName: \"12345rsv103\"\r\n      ptniiName: \"12345sd9103\"\r\n      numberOfUnits: 2\r\n      price: 0\r\n      startUnit: 8\r\n      vendorModel:\r\n        id: 179\r\n        model: \"AIC MED 3.0 AC -  28 CORE XDP - 256GB RAM - 2 X 120GB SSD\"\r\n        vendor: \"HP\"\r\n        configuration: \"HP DL380G9 - AIC MED 3.0 AC -  24 CORE XDP - 256GB RAM - 2 X 120GB SSD - 4 X 1GB NIC (LOM) - 6 X 10GB (INTEL) - 6 SFP+ TRANSCEIVERS - 4HR \"\r\n        bootDrives: null\r\n        bootRaid: false\r\n        dataDrives: null\r\n        dataRaid: false\r\n        dataCapacity: null\r\n        hotSpares\": null\r\n        totalDrives\": null\r\n        cpus\": null\r\n        ram\": null\r\n        pcieSlots\": null\r\n        mgtPorts\": null\r\n        dataNics\": null\r\n        dataUplinkPorts\": null\r\n      serial: null\r\n      assetTag: null\r\n      ipmiMac: null\r\n      mgtMac: null\r\n      purchaseOrder: null\r\n      affiliateOwner: null\r\n      equipmentPurpose: null\r\n      bootstrap: false\r\n      hypervisorOsType: null\r\n      initiatorName: null\r\n      vpmo: \"12345\"\r\n      lcpType: null\r\n      role: null\r\n      virtualSubDevices: null\r\n  virtualSubDevice:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n      nvpName:\r\n        type: string\r\n      ptniiName:\r\n        type: string\r\n      installationStatus:\r\n        type: string\r\n      deploymentPhase:\r\n        type: string\r\n      hypervisorType:\r\n        type: string\r\n      cpu:\r\n        type: integer\r\n      memory:\r\n        type: integer\r\n      diskOs:\r\n        type: integer\r\n      diskApp:\r\n        type: integer\r\n      storageMode:\r\n        type: string\r\n      os:\r\n        type: string\r\n      applications:\r\n         type: array\r\n         items:\r\n            $ref: '#/definitions/Application'\r\n    required: \r\n      [\r\n        id\r\n      ]\r\n    example:\r\n      id: 45\r\n      nvpName: \"12345rsv123-vsx0\"\r\n      ptniiName: null\r\n      installationStatus: null\r\n      deploymentPhase: null\r\n      hypervisorType: null\r\n      cpu: null\r\n      memory: null\r\n      diskOs: null\r\n      diskApp: null\r\n      storageMode: null\r\n      os: null\r\n      applications: null\r\n  Application:\r\n    type: object\r\n    properties:\r\n       applicationName:\r\n        type: string\r\n       applicationVersion:\r\n        type: string\r\n  VirtualConnection:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: zone ID\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      updated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n      from:\r\n        type: object\r\n        properties:\r\n          device:\r\n            $ref: '#/definitions/BasicDevice'\r\n          subDevice:\r\n            $ref: '#/definitions/SubDevice'\r\n          virtualDevice:\r\n            type: object\r\n            properties:\r\n              id:\r\n                type: integer\r\n                format: int32\r\n              nvpName:\r\n                type: string\r\n          virtualSubDevice:\r\n            type: object\r\n            properties:\r\n              id:\r\n                type: integer\r\n                format: int32\r\n              nvpName:\r\n                type: string\r\n              ptniiName:\r\n                type: string\r\n          purpose:\r\n            type: string\r\n          LAGGrouping:\r\n            type: string\r\n          virtualPort:\r\n            type: string\r\n      to:\r\n        type: object\r\n        properties:\r\n          device:\r\n            $ref: '#/definitions/BasicDevice'\r\n          subDevice:\r\n            $ref: '#/definitions/SubDevice'\r\n          virtualDevice:\r\n            type: object\r\n            properties:\r\n              id:\r\n                type: integer\r\n                format: int32\r\n              nvpName:\r\n                type: string\r\n          virtualSubDevice:\r\n            type: object\r\n            properties:\r\n              id:\r\n                type: integer\r\n                format: int32\r\n              nvpName:\r\n                type: string\r\n              ptniiName:\r\n                type: string\r\n          purpose:\r\n            type: string\r\n          LAGGrouping:\r\n            type: string\r\n          virtualPort:\r\n            type: string\r\n      configPhase:\r\n        type: string\r\n      toZone:\r\n        type: string\r\n      circuitId:\r\n        type: string\r\n      lgxfic:\r\n        type: string\r\n      lgxPanelJack:\r\n        type: string\r\n      configStatus:\r\n        type: string\r\n      logicalCktId:\r\n        type: string\r\n    example:\r\n      id: 25\r\n      created: \"2016-06-30 06:22:29\"\r\n      updated: \"2016-06-30 06:22:29\"\r\n      lastUpdateBy: \"admin\"\r\n      from:\r\n        purpose\": \"Local Mgmt Access\"\r\n        virtualSubDevice: null\r\n        virtualDevice: null\r\n        subDevice: null\r\n        device:\r\n          id: 787\r\n          created: \"2016-07-04 06:31:27\"\r\n          lastUpdated: \"2016-07-04 06:31:27\"\r\n          lastUpdateBy: null\r\n          aicStandardName: \"12345678GSN3AAA1QS03\"\r\n          rackName: null\r\n          function: null\r\n          nvpName: \"1234500001ilx\"\r\n          ptniiName: null\r\n          numberOfUnits: 0\r\n          price: 0\r\n          startUnit: 29\r\n          vendorModel:\r\n            id: 56\r\n            model: \"Catalyst 2960X\"\r\n            vendor: \"Cisco\"\r\n            configuration: null\r\n            bootDrives: null\r\n            bootRaid: false\r\n            dataDrives: null\r\n            dataRaid: false\r\n            dataCapacity: null\r\n            hotSpares: null\r\n            totalDrives: null\r\n            cpus: null\r\n            ram: null\r\n            pcieSlots: null\r\n            mgtPorts: null\r\n            dataNics: null\r\n            dataUplinkPorts: null\r\n          serial: null\r\n          assetTag: null\r\n          ipmiMac: null\r\n          mgtMac: null\r\n          purchaseOrder: null\r\n          affiliateOwner: null\r\n          equipmentPurpose: null\r\n          bootstrap: false\r\n          hypervisorOsType: null\r\n          initiatorName: null\r\n          vpmo: null\r\n          lcpType: null\r\n          role: null\r\n          virtualSubDevices: null\r\n        virtualPort: \"Vlan22\"\r\n        laggrouping: \"\"\r\n      to: null\r\n      configPhase: \"base\"\r\n      toZone: null\r\n      circuitId: \"\"\r\n      lgxfic: \"\"\r\n      lgxPanelJack: \"\"\r\n      configStatus: \"Installed\"\r\n      logicalCktId: \"\"\r\n    required:\r\n      [\r\n        id,\r\n        created,\r\n        updated,\r\n        lastUpdateBy,\r\n        from,\r\n        configPhase,\r\n        configStatus\r\n      ]\r\n  BasicDevice:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int64\r\n        description: device ID\r\n      nvpName:\r\n        type: string\r\n      ptniiName:\r\n        type: string\r\n      vendorModel:\r\n        $ref: '#/definitions/VendorModel'\r\n      startUnit:\r\n        type: integer\r\n        format: int32\r\n      AICStandardName:\r\n        type: string\r\n    example:\r\n      id: 766\r\n      nvpName: \"12345sta100\"\r\n      ptniiName: null\r\n      vendorModel: \r\n        id: 75\r\n        model: \"HP MSA 2040 Storage Controller 24 drive\"\r\n        vendor: \"HP\"\r\n        configuration: \"8/16Gb Fibre Channel (FC) storage array, dual controllers, four host ports per controller, four 1GbE/10GbE iSCSI ports, 6GB (4GB Data Read/Write, 2 GB Metadata/System OS) cache memory\"\r\n        bootDrives: null\r\n        bootRaid: false\r\n        dataDrives: null\r\n        dataRaid: false\r\n        dataCapacity: null\r\n        hotSpares: null\r\n        totalDrives: null\r\n        cpus: null\r\n        ram: null\r\n        pcieSlots: null\r\n        mgtPorts\": null\r\n        dataNics\": null\r\n        dataUplinkPorts: null\r\n      startUnit: 2,\r\n      aicstandardName: \"AAA1R01S007\"\r\n    required:\r\n      [\r\n        id,\r\n        startUnit\r\n      ]\r\n  CableEdge:\r\n    type: object\r\n    properties:\r\n      device:\r\n        $ref: '#/definitions/BasicDevice'\r\n      subDevice:\r\n        $ref: '#/definitions/BasicDevice'\r\n      row:\r\n        type: string\r\n      rackLocation:\r\n        type: string\r\n      rackUnit:\r\n        type: integer\r\n        format: int32\r\n      LAGGrouping:\r\n        type: string\r\n      purpose:\r\n        type: string\r\n    example:\r\n      rackLocation: \"1\"\r\n      rackUnit: \"AAA1R01\"\r\n      purpose: \"ISCI\"\r\n      row: \"\"\r\n      subDevice: null\r\n      device: \r\n        id: 766\r\n        nvpName: \"12345sta100\"\r\n        ptniiName: null\r\n        vendorModel: \r\n          id: 75\r\n          model: \"HP MSA 2040 Storage Controller 24 drive\"\r\n          vendor: \"HP\"\r\n          configuration: \"8/16Gb Fibre Channel (FC) storage array, dual controllers, four host ports per controller, four 1GbE/10GbE iSCSI ports, 6GB (4GB Data Read/Write, 2 GB Metadata/System OS) cache memory\"\r\n          bootDrives: null\r\n          bootRaid: false\r\n          dataDrives: null\r\n          dataRaid: false\r\n          dataCapacity: null\r\n          hotSpares: null\r\n          totalDrives: null\r\n          cpus: null\r\n          ram: null\r\n          pcieSlots: null\r\n          mgtPorts\": null\r\n          dataNics\": null\r\n          dataUplinkPorts: null\r\n        startUnit: 2,\r\n        aicstandardName: \"AAA1R01S007\"\r\n    required:\r\n      [\r\n        rackLocation,\r\n        rackUnit,\r\n        purpose\r\n      ]\r\n  Cable:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: zone ID\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n      from:\r\n        $ref: '#/definitions/CableEdge'\r\n      to:\r\n        $ref: '#/definitions/CableEdge'\r\n      toZone:\r\n        type: string\r\n      capacity:\r\n        type: string\r\n      configPhase:\r\n        type: string\r\n      circuitId:\r\n        type: string\r\n      lgxFic:\r\n        type: string\r\n      lgxPanelJack:\r\n        type: string\r\n      status:\r\n        type: string\r\n      logicalCktId:\r\n        type: string\r\n      mediaType:\r\n        type: string\r\n      vendorModel:\r\n        $ref: '#/definitions/VendorModel'\r\n      vpmo: \r\n        type: string\r\n    required:\r\n      [\r\n        id,\r\n        created,\r\n        lastUpdated,\r\n        lastUpdateBy,\r\n        from,\r\n        capacity,\r\n        status,\r\n        mediaType,\r\n        vendorModel,\r\n        vpmo\r\n      ]\r\n    example:\r\n      id: 1\r\n      created: \"2016-06-30 06:22:29\"\r\n      lastUpdated: \"2016-06-30 06:22:29\"\r\n      lastUpdateBy: \"admin\"\r\n      from: \r\n        rackLocation: \"1\"\r\n        rackUnit: \"AAA1R01\"\r\n        purpose: \"ISCI\"\r\n        row: \"\"\r\n        subDevice: null\r\n        device: \r\n          id: 766\r\n          nvpName: \"12345sta100\"\r\n          ptniiName: null\r\n          vendorModel: \r\n            id: 75\r\n            model: \"HP MSA 2040 Storage Controller 24 drive\"\r\n            vendor: \"HP\"\r\n            configuration: \"8/16Gb Fibre Channel (FC) storage array, dual controllers, four host ports per controller, four 1GbE/10GbE iSCSI ports, 6GB (4GB Data Read/Write, 2 GB Metadata/System OS) cache memory\"\r\n            bootDrives: null\r\n            bootRaid: false\r\n            dataDrives: null\r\n            dataRaid: false\r\n            dataCapacity: null\r\n            hotSpares: null\r\n            totalDrives: null\r\n            cpus: null\r\n            ram: null\r\n            pcieSlots: null\r\n            mgtPorts\": null\r\n            dataNics\": null\r\n            dataUplinkPorts: null\r\n          startUnit: 2,\r\n          aicstandardName: \"AAA1R01S007\"\r\n        port: \"1\"\r\n        laggrouping: \"\"\r\n      to:\r\n        rackLocation\": \"1\"\r\n        rackUnit: \"AAA1R01\"\r\n        purpose: \"\"\r\n        row: \"\"\r\n        subDevice: null\r\n        device: \r\n          id: 773\r\n          nvpName: \"12345vlls01\"\r\n          ptniiName: null\r\n          vendorModel:\r\n            id: 102\r\n            model: \"Cisco Network Convergence Systems (NCS) 5501 Router\"\r\n            vendor: \"Cisco\"\r\n            configuration: \"40 10GbE ports plus 4 100GbE ports, Embedded USB (eUSB) storage (32 GB)\"\r\n            bootDrives: null\r\n            bootRaid: false\r\n            dataDrives: null\r\n            dataRaid: false\r\n            dataCapacity: null\r\n            hotSpares: null\r\n            totalDrives: null\r\n            cpus: null\r\n            ram: null\r\n            pcieSlots: null\r\n            mgtPorts: null\r\n            dataNics: null\r\n            dataUplinkPorts: null\r\n          startUnit: 20\r\n          aicstandardName: \"12345678GSCAAA1QS01\"\r\n        port: \"37\"\r\n        laggrouping: \"\"\r\n      toZone: \"AAA1\"\r\n      capacity: \"10\"\r\n      configPhase: null\r\n      circuitId: null\r\n      lgxFic: null\r\n      lgxPanelJack: null\r\n      status: \"Configuration\"\r\n      logicalCktId: null\r\n      mediaType: \"MM-Fiber\"\r\n      vendorModel: \r\n          id: 77\r\n          model: \"MM-Fiber-10G Cable (LC)\"\r\n          vendor: \"Acme Cable\"\r\n          configuration: \"\"\r\n          bootDrives: null\r\n          bootRaid: false\r\n          dataDrives: null\r\n          dataRaid: false\r\n          dataCapacity: null\r\n          hotSpares: null\r\n          totalDrives: null\r\n          cpus: null\r\n          ram: null\r\n          pcieSlots: null\r\n          mgtPorts: null\r\n          dataNics: null\r\n          dataUplinkPorts: null\r\n      vpmo: \"12345\"\r\n  VLan:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int64\r\n        description: vendor model ID\r\n      vlanId:\r\n        type: string\r\n      created:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdated:\r\n        $ref: '#/definitions/Date'\r\n      lastUpdateBy:\r\n        type: string\r\n      name:\r\n        type: string\r\n      ipv4:\r\n        type: array\r\n        items:\r\n          $ref: '#/definitions/Network'\r\n      ipv6:\r\n        type: array\r\n        items:\r\n          $ref: '#/definitions/Network'\r\n      ipv4Gateway:\r\n        type: array\r\n        items:\r\n          type: string\r\n      ipv6Gateway:\r\n        type: array\r\n        items:\r\n          type: string\r\n    required:\r\n      [\r\n        id,\r\n        vlanId,\r\n        created,\r\n        lastUpdated,\r\n        lastUpdateBy,\r\n        name,\r\n        ipv4,\r\n        ipv4Gateway\r\n      ]\r\n    example:\r\n      id: 68,\r\n      vlanId: \"1300\"\r\n      created: \"2016-07-04 11:45:28\"\r\n      lastUpdated: \"2016-07-04 11:45:28\"\r\n      lastUpdateBy: null\r\n      name: \"Public OAM\"\r\n      ipv4:\r\n        name\": \"Public OAM1\"\r\n        ip\": \"1.1.1.8\"\r\n      ipv6:\r\n      ipv4Gateway:\r\n        \"1.1.1.2\"\r\n      ipv6Gateway:\r\n  Network:\r\n    type: object\r\n    properties:\r\n      ip:\r\n        type: string\r\n      name:\r\n        type: string\r\n    example:\r\n      name: \"OOB Access1\"\r\n      ip: \"1.1.1.8\"\r\n    required:\r\n      [\r\n        name,\r\n        ip\r\n      ]\r\n  SubDevice:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: vendor model ID\r\n      nvpName:\r\n        type: string\r\n      ptniiName:\r\n        type: string\r\n      vendorModel:\r\n        $ref: '#/definitions/VendorModel'\r\n  VendorModel:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n        description: vendor model ID\r\n      model:\r\n        type: string\r\n      vendor:\r\n        type: string\r\n      configuration:\r\n        type: string\r\n      bootDrives:\r\n        type: string\r\n      bootRaid:\r\n        type: string\r\n      dataDrives:\r\n        type: string\r\n      dataRaid:\r\n        type: string\r\n      dataCapacity:\r\n        type: string\r\n      hotSpares:\r\n        type: string\r\n      totalDrives:\r\n        type: string\r\n      cpus:\r\n        type: string\r\n      ram:\r\n        type: string\r\n      pcieSlots:\r\n        type: string\r\n      mgtPorts:\r\n        type: string\r\n      dataNics:\r\n        type: string\r\n      dataUplinkPorts: \r\n        type: string\r\n    example:\r\n      id: 75\r\n      model: \"HP MSA 2040 Storage Controller 24 drive\"\r\n      vendor: \"HP\"\r\n      configuration: \"8/16Gb Fibre Channel (FC) storage array, dual controllers, four host ports per controller, four 1GbE/10GbE iSCSI ports, 6GB (4GB Data Read/Write, 2 GB Metadata/System OS) cache memory\"\r\n      bootDrives: null\r\n      bootRaid: false\r\n      dataDrives: null\r\n      dataRaid: false\r\n      dataCapacity: null\r\n      hotSpares: null\r\n      totalDrives: null\r\n      cpus: null\r\n      ram: null\r\n      pcieSlots: null\r\n      mgtPorts\": null\r\n      dataNics\": null\r\n      dataUplinkPorts: null\r\n    required:\r\n      [\r\n        id,\r\n        model,\r\n        vendor,\r\n        configuration\r\n      ]\r\n  Lun:\r\n    type: object\r\n    properties:\r\n      volume:\r\n        type: string\r\n        description: Display the Volume of a LUN for exaple.\r\n        example: \"01a\"\r\n      lcpType:\r\n        type: string\r\n        description: LCP can be 'lcp_a' / 'lcp_b'.\r\n        example: \"lcp_a\"\r\n      wwid:\r\n        type: string\r\n        description: Display the WWID value of a LUN.\r\n        example: \"360a98000\"\r\n      lunType:\r\n        type: string\r\n        description: lun type, can be 'Host' / 'Data'.\r\n        example: \"Host\"\r\n      id:\r\n        type: integer\r\n        description: lun id.\r\n      size:\r\n        type: string\r\n        description: Display the Size of a LUN, devided by 8 without any remainder.\r\n      arraySerialNumber:\r\n        type: string\r\n        description: LUN serial number.\r\n  LunVmMapping:\r\n    type: object\r\n    properties:\r\n      lun:\r\n        $ref: '#/definitions/Lun'\r\n      vmServerHostname:\r\n        type: string\r\n        description: AIC formation hostname for the Device containing the VM.\r\n      vmHostname:\r\n        type: string\r\n        description: AIC formation hostname of the VM.\r\n  Metadata:\r\n    type: object\r\n    properties:\r\n      id:\r\n        type: integer\r\n        format: int32\r\n      name:\r\n        type: string\r\n    example:\r\n      id: 3,\r\n      name: \"DC\"\r\n    required:\r\n      [\r\n        id,\r\n        name\r\n      ]\r\n  NetworkRange:\r\n    type: object\r\n    properties:\r\n      subnetRange:\r\n        type: string\r\n      gwIpv4Address1:\r\n        type: string\r\n      gwIpv4Address2:\r\n        type: string\r\n      openstackDeviceIpv4Start:\r\n        type: string\r\n      openstackDeviceIpv4End:\r\n        type: string\r\n      openstackVmIpv4Start:\r\n        type: string\r\n      openstackVmIpv4End:\r\n        type: string\r\n  Date:\r\n    type: object\r\n    properties:\r\n      date:\r\n        type: string\r\n        format: date\r\n        description: Displaying central time zone\r\n  ClientProgressTracking:\r\n    type: object\r\n    properties:\r\n        client:\r\n          type: string\r\n          description: OpsSimple / Canopi\r\n        severity:\r\n          type: string\r\n          description: Error / Warning / Info\r\n        description:\r\n          type: string\r\n          description: A short description of the new Zone Status the client has\r\nsecurityDefinitions:\r\n  basicAuth:\r\n    type: basic\r\n    description: HTTP Basic Authentication. Works over `HTTP` and `HTTPS`\r\nsecurity:\r\n  - basicAuth: []\r\n```\r\n* Swagger Editor version(from Help > About menu): \r\n* My browser: \r\nchrom\r\n**Issue**\r\nNo error in Swagger Editor.\r\nWhen running the generated node.js server \r\nand openning the Chrom on the url:\r\nhttp://localhost:8080/docs\r\nI get :\r\nfetching resource list: http://localhost:8080/api-docs; Please wait.\n\n_Copied from original issue: swagger-api/swagger-editor#992_"}}
{"actor":{"display_login":"wing328"}}