daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Oct 18th, 2018 65 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. /**
  2.  * @swagger
  3.  * definitions:
  4.  *   User:
  5.  *     type: object
  6.  *     required:
  7.  *       - id
  8.  *       - name
  9.  *       - hashed
  10.  *       - lastUpdate
  11.  *     properties:
  12.  *       id:
  13.  *         type: number
  14.  *       name:
  15.  *         type: string
  16.  *       hashed:
  17.  *         type: string
  18.  *       lastUpdate:
  19.  *         type: number
  20.  *   game_info:
  21.  *      type: object
  22.  *      properties:
  23.  *          game_uuid:
  24.  *              type: uuid
  25.  *   location:
  26.  *      type: object
  27.  *      properties:
  28.  *          x:
  29.  *              type: number
  30.  *          y:
  31.  *              type: number
  32.  *   tile_info:
  33.  *      type: object
  34.  *      properties:
  35.  *          tile:
  36.  *              type: string
  37.  *          accessible:
  38.  *              type: boolean
  39.  *          location:
  40.  *               $ref: '#/definitions/location'
  41.  *   map:
  42.  *      type: object
  43.  *      properties:
  44.  *          tile_name:
  45.  *               $ref: '#/definitions/tile_info'
  46.  *   tile_name:
  47.  *      type: string
  48.  *   containedTiles:
  49.  *      type: array
  50.  *      items:
  51.  *          $ref: '#/definitions/tile_name'
  52.  *   zone_name:
  53.  *      type: object
  54.  *      properties:
  55.  *          tiles:
  56.  *              $ref: '#/definitions/containedTiles'
  57.  *   zones:
  58.  *      type: object
  59.  *      properties:
  60.  *          zone_name:
  61.  *              $ref: '#/definitions/zone_name'
  62.  *   building:
  63.  *      type: object
  64.  *      properties:
  65.  *          uuid:
  66.  *              type: uuid
  67.  *          type:
  68.  *              type: string
  69.  *          timeToBuild:
  70.  *              type: number
  71.  *          health:
  72.  *              type: number
  73.  *          location:
  74.  *               $ref: '#/definitions/location'
  75.  *   buildings:
  76.  *      type: object
  77.  *      properties:
  78.  *          building_name:
  79.  *              $ref: '#/definitions/building'
  80.  *   unit:
  81.  *      type: object
  82.  *      properties:
  83.  *          uuid:
  84.  *              type: uuid
  85.  *          type:
  86.  *              type: string
  87.  *          speed:
  88.  *              type: number
  89.  *          health:
  90.  *              type: number
  91.  *          location:
  92.  *               $ref: '#/definitions/location'
  93.  *   units:
  94.  *      type: object
  95.  *      properties:
  96.  *          unit_name:
  97.  *              $ref: '#/definitions/unit'
  98.  *   team_name:
  99.  *      type: object
  100.  *      properties:
  101.  *          team_uuid:
  102.  *              type: uuid
  103.  *   teams:
  104.  *      type: object
  105.  *      properties:
  106.  *          team_name:
  107.  *               $ref: '#/definitions/team_name'
  108.  *          units:
  109.  *              $ref: '#/definitions/units'
  110.  *          buildings:
  111.  *               $ref: '#/definitions/buildings'
  112.  *  
  113.  *   Game:
  114.  *      type: object
  115.  *      properties:
  116.  *          game_info:
  117.  *              $ref: '#/definitions/game_info'
  118.  *          map:
  119.  *              $ref: '#/definitions/map'
  120.  *          zones:
  121.  *              $ref: '#/definitions/zones'
  122.  *          teams:
  123.  *              $ref: '#/definitions/teams'
  124.  *          
  125.  */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top