Commit 3d6e805d authored by M. Hamza's avatar M. Hamza
Browse files

add example request bodies in MEC015 & MEC016 APIs

parent 0519c226
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -114,6 +114,21 @@ paths:
          application/json:
            schema:
              $ref: '#/components/schemas/BwInfo'
            example:
              timeStamp:
                  seconds: 1977836800
                  nanoseconds: 0
              appInsId: '00000000-0000-0000-0000-000000000000'
              appName: 'Testing'
              requestType: 1
              sessionFilter:
                - sourceIp: '192.168.0.1/32'
                  sourcePort: '49152'
                  dstIp: '10.10.0.1/32'
                  dstPort: '49153'
                  protocol: 1
              fixedAllocation: '500'
              allocationDirection: '00'
        required: true
      responses:
        "201":
+17 −0
Original line number Diff line number Diff line
@@ -150,6 +150,23 @@ paths:
          application/json:
            schema:
              $ref: '#/components/schemas/MtsSessionInfo'
            example:
              timeStamp:
                seconds: 1977836800
                nanoseconds: 0
              appInsId: '00000000-0000-0000-0000-000000000000'
              appName: 'Testing'
              requestType: 1
              flowFilter:
                - sourceIp: '192.168.0.1/32'
                  sourcePort: 49152
                  dstPort: 49153
                  dstIp: '10.10.0.1/32'
                  protocol: 1
                  dscp: 0
                  flowlabel: 1
              mtsMode: 2
              trafficDirection: '00'
        required: true
      responses:
        "201":