Commit 4a528c46 authored by hammad zafar's avatar hammad zafar
Browse files

add examples for request and response in /geodata/cellularPower endpoint +...

add examples for request and response in /geodata/cellularPower endpoint + name attributes in camel case
parent 6f5ca46c
Loading
Loading
Loading
Loading
+21 −6
Original line number Diff line number Diff line
@@ -321,8 +321,7 @@ paths:
      tags:
      - "Geospatial Data"
      summary: "Get RSRQ and RSRP values for a list of coordinates"
      description: "Get geospatial data for the given asset and if it is within range\
        \ of another asset or geospatial coordinates"
      description: "Get RSRQ and RSRP values for a list of coordinates"
      operationId: "getGeoDataPowerValues"
      produces:
      - "application/json"
@@ -380,12 +379,23 @@ definitions:
  CoordinatePowerList:
    type: "object"
    properties:
      CoordinatesPower:
      coordinatesPower:
        type: "array"
        items:
          $ref: "#/definitions/CoordinatePower"
    description: "List of geo coordinates with RSRQ/RSRP values"
    example: {}
    example:
      coordinatesPower:
      - latitude: 43.73651
        longitude: 7.421802
        rsrq: 21
        rsrp: 63
        poaName: "4g-macro-cell-6"
      - latitude: 43.747787
        longitude: 7.434856
        rsrq: 58
        rsrp: 60
        poaName: "5G-small-cell-15"
  CoordinatePower:
    required:
    - "latitude"
@@ -424,12 +434,17 @@ definitions:
  GeoCoordinateList:
    type: "object"
    properties:
      GeoCoordinates:
      geoCoordinates:
        type: "array"
        items:
          $ref: "#/definitions/GeoCoordinate"
    description: "List of geo-coordinates"
    example: {}
    example:
      geoCoordinates:
      - latitude: 43.73651
        longitude: 7.421802
      - latitude: 43.73736
        longitude: 7.42821
  GeoCoordinate:
    type: "object"
    properties: