Commit 2e50359f authored by piscione's avatar piscione
Browse files

Fixes based on linter error.

parent ddc0355a
Loading
Loading
Loading
Loading
Loading
+27 −17
Original line number Diff line number Diff line
@@ -25,16 +25,20 @@
  ],
  "tags": [
    {
      "name": "Queries"
      "name": "Queries",
      "description": "APIs for Device and fa_info"
    },
    {
      "name": "Subscription"
      "name": "Subscription",
      "description": "Subscription API"
    },
    {
      "name": "Cable line info"
      "name": "Cable line info",
      "description": "Cable line info API"
    },
    {
      "name": "Optical network info"
      "name": "Optical network info",
      "description": "Optican network Info API"
    }
  ],
  "paths": {
@@ -535,6 +539,9 @@
                "responses": {
                  "204": {
                    "$ref": "#/components/responses/204"
                  },
                  "400": {
                    "$ref": "#/components/responses/400"
                  }
                }
              }
@@ -1070,6 +1077,7 @@
          "ifIndex",
          "serviceFlowInfo"
        ],
        "properties": {
          "ifIndex": {
            "description": "It represents the interface index of the MAC Domain of the Service Flow.",
            "type": "string"
@@ -1081,6 +1089,7 @@
              "$ref": "#/components/schemas/CableLineInfo.serviceFlowStats.serviceFlowInfo"
            }
          }
        }
      },
      "CableLineInfo": {
        "type": "object",
@@ -1613,7 +1622,7 @@
          "downloadURI": {
            "description": "The URI for the device to perform the download on.",
            "format": "uri",
            "type": "uri",
            "type": "string",
            "x-etsi-mec-cardinality": "0..1",
            "x-etsi-mec-origin-type": "URI"
          },
@@ -1654,7 +1663,7 @@
          "self": {
            "description": "Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as it acts as an ID for the subscription.",
            "format": "uri",
            "type": "uri",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "URI"
          }
@@ -1999,7 +2008,8 @@
        "properties": {
          "subscriptionType": {
            "description": "Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications.",
            "type": "uri"
            "type": "string",
            "format": "uri"
          },
          "requestWebsocketUri": {
            "description": "Set to true by the service consumer to indicate that Websocket delivery is requested.",
@@ -2160,7 +2170,7 @@
          "href": {
            "description": "The URI referring to the subscription.",
            "format": "uri",
            "type": "uri",
            "type": "string",
            "x-etsi-mec-cardinality": "1",
            "x-etsi-mec-origin-type": "URI"
          },
+20 −12
Original line number Diff line number Diff line
@@ -17,9 +17,13 @@ servers:
  - url: "https://localhost/fai/v1"
tags:
  - name: Queries
    description: "APIs for Device and fa_info"
  - name: Subscription
    description: "Subscription API"
  - name: "Cable line info"
    description: "Cable line info API"
  - name: "Optical network info"
    description: "Optican network Info API"
paths:
  /queries/fa_info:
    get:
@@ -345,6 +349,8 @@ paths:
              responses:
                "204":
                  $ref: "#/components/responses/204"
                "400":
                  $ref: "#/components/responses/400"

  /subscriptions/{subscriptionId}:
    parameters:
@@ -754,6 +760,7 @@ components:
      required:
        - ifIndex
        - serviceFlowInfo
      properties:
        ifIndex:
            description: It represents the interface index of the MAC Domain of the Service Flow.
            type: string
@@ -1244,7 +1251,7 @@ components:
        downloadURI:
          description: The URI for the device to perform the download on.
          format: uri
          type: uri
          type: string
          x-etsi-mec-cardinality: 0..1
          x-etsi-mec-origin-type: URI
        eOMTime:
@@ -1287,7 +1294,7 @@ components:
        self:
          description: Self referring URI. This shall be included in the response from the FAIS. The URI shall be unique within the FAI API as it acts as an ID for the subscription.
          format: uri
          type: uri
          type: string
          x-etsi-mec-cardinality: "1"
          x-etsi-mec-origin-type: URI
      required:
@@ -1598,7 +1605,8 @@ components:
      properties:
        subscriptionType:
          description: Set by FAIS to indicate to the service consumer the Websocket URI to be used for delivering notifications.
          type: uri
          type: string
          format: uri
        requestWebsocketUri:
          description: Set to true by the service consumer to indicate that Websocket delivery is requested.
          type: boolean        
@@ -1737,7 +1745,7 @@ components:
        href:
          description: The URI referring to the subscription.
          format: uri
          type: uri
          type: string
          x-etsi-mec-cardinality: "1"
          x-etsi-mec-origin-type: URI
        subscriptionType: