Commit 2bd0f37f authored by Mudassar Khan's avatar Mudassar Khan
Browse files

update swagger files for meep-app-enablement

parent 100a3169
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ paths:
          headers:
            location:
              description: The resource URI of the created resource
              style: simple
              explode: false
              # style: simple
              # explode: false
              content:
                text/plain:
                  schema:
@@ -537,7 +537,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/appInstanceId_services_body'
              $ref: '#/components/schemas/ServiceInfo'
        required: true
      responses:
        "201":
@@ -546,8 +546,8 @@ paths:
          headers:
            location:
              description: The resource URI of the created resource
              style: simple
              explode: false
              # style: simple
              # explode: false
              content:
                text/plain:
                  schema:
@@ -2020,12 +2020,6 @@ components:
      - RPC
      - RPC_STREAMING
      - WEBSOCKET
    appInstanceId_services_body:
      description: New ServiceInfo with updated "state" is included as entity body
        of the request
      oneOf:
      - type: object
      - type: object
    ServiceInfo__links:
      required:
      - self
+16 −31
Original line number Diff line number Diff line
@@ -113,8 +113,8 @@ paths:
          headers:
            location:
              description: The resource URI of the created resource
              style: simple
              explode: false
              # style: simple
              # explode: false
              content:
                text/plain:
                  schema:
@@ -537,7 +537,7 @@ paths:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/appInstanceId_services_body'
              $ref: '#/components/schemas/ServiceInfo'
        required: true
      responses:
        "201":
@@ -546,8 +546,8 @@ paths:
          headers:
            location:
              description: The resource URI of the created resource
              style: simple
              explode: false
              # style: simple
              # explode: false
              content:
                text/plain:
                  schema:
@@ -1357,7 +1357,7 @@ components:
        id:
          type: string
          description: Unique identifier of the category
          example: "[\"id12345\"]"
          example: id12345
        name:
          type: string
          description: "Name of the category, example values include RNI, Location\
@@ -1621,8 +1621,7 @@ components:
          - serNames
          - serNames
          serInstanceIds:
          - serInstanceIds
          - serInstanceIds
          - ServiceInstance123
          serCategories:
          - name: "[\"RNI\"]"
            href: "[\"/example/catalogue1\"]"
@@ -1634,7 +1633,6 @@ components:
            version: "[\"version1\"]"
          states:
          - "[\"ACTIVE\"]"
          - "[\"ACTIVE\"]"
          isLocal: false
        subscriptionType: "[\"SerAvailabilityNotificationSubscription\"]"
        _links:
@@ -1680,11 +1678,9 @@ components:
        \ combined with the logical  \"AND\" operation."
      example:
        serNames:
        - serNames
        - serNames
        - ExampleService
        serInstanceIds:
        - serInstanceIds
        - serInstanceIds
        - ServiceInstance123
        serCategories:
        - name: "[\"RNI\"]"
          href: "[\"/example/catalogue1\"]"
@@ -1696,7 +1692,6 @@ components:
          version: "[\"version1\"]"
        states:
        - "[\"ACTIVE\"]"
        - "[\"ACTIVE\"]"
        isLocal: false
    ServiceAvailabilityNotification:
      title: ServiceAvailabilityNotification
@@ -1861,15 +1856,14 @@ components:
        transportInfo:
          implSpecificInfo: implSpecificInfo
          protocol: "[\"HTTP\"]"
          endpoint: ""
          endpoint:
            uris:
            - "[\"/mecSerMgmtApi/service/EntryPoint\"]"
          security:
            oAuth2Info:
              tokenEndpoint: "[\"/mecSerMgmtApi/security/TokenEndPoint\"]"
              grantTypes:
              - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
              - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
              - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
              - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
          name: "[\"REST\"]"
          description: "[\"REST API\"]"
          id: "[\"TransId12345\"]"
@@ -1877,7 +1871,6 @@ components:
          version: "[\"2.0\"]"
        transportId: "[\"transportId1\"]"
        _links:
          liveness: null
          self:
            href: "[\"/mecSerMgmtApi/example\"]"
        serializer: "[\"JSON\"]"
@@ -1993,15 +1986,14 @@ components:
      example:
        implSpecificInfo: implSpecificInfo
        protocol: "[\"HTTP\"]"
        endpoint: ""
        endpoint:
          uris:
          - /mecSerMgmtApi/service/EntryPoint
        security:
          oAuth2Info:
            tokenEndpoint: "[\"/mecSerMgmtApi/security/TokenEndPoint\"]"
            grantTypes:
            - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
            - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
            - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
            - "[\"OAUTH2_CLIENT_CREDENTIALS\"]"
        name: "[\"REST\"]"
        description: "[\"REST API\"]"
        id: "[\"TransId12345\"]"
@@ -2020,12 +2012,6 @@ components:
      - RPC
      - RPC_STREAMING
      - WEBSOCKET
    appInstanceId_services_body:
      description: New ServiceInfo with updated "state" is included as entity body
        of the request
      oneOf:
      - type: object
      - type: object
    ServiceInfo__links:
      required:
      - self
@@ -2036,9 +2022,8 @@ components:
        liveness:
          $ref: '#/components/schemas/LinkType'
      example:
        liveness: null
        self:
          href: "[\"/mecSerMgmtApi/example\"]"
          href: /mecSerMgmtApi/example
    ServiceLivenessInfo_timeStamp:
      required:
      - nanoSeconds