Commit 1d5478df authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix examples in MecAppSupportAPI.yaml

parent f2042b0a
Loading
Loading
Loading
Loading
Loading
+16 −27
Original line number Diff line number Diff line
@@ -84,7 +84,8 @@ paths:
                #       state: ACTIVE
                contentMediaType: application/json
              examples:
                - TrafficRules:
                TrafficRules:
                  value:
                    - trafficRuleId: TrafficRule123
                      filterType: FLOW
                      priority: 1
@@ -106,27 +107,6 @@ paths:
                          tunnelInfo: tunnel
                          dstIpAddress: 20.1.1.1
                      state: ACTIVE
                    - trafficRuleId: TrafficRule345
                      filterType: FLOW
                      priority: 1
                      trafficFilter:
                        - srcAddress:
                            - 192.127.4.104/32
                            - 192.127.4.105/32
                          dstAddress:
                            - 192.127.4.106/32
                            - 192.127.4.107/32
                          srcPort:
                            - '80'
                          dstPort:
                            - '80'
                      action: FORWARD_DECAPSULATED
                      dstInterface:
                        - dstInterface: null
                          interfaceType: IP
                          tunnelInfo: tunnel
                          dstIpAddress: 20.1.1.2
                      state: ACTIVE
        '400':
          description: >-
            Bad Request. It is used to indicate that incorrect parameters were
@@ -203,7 +183,8 @@ paths:
              schema:
                $ref: '#/components/schemas/TrafficRule'
              examples:
                - TrafficRule:
                TrafficRule:
                  value:
                    trafficRuleId: TrafficRule123
                    filterType: FLOW
                    priority: 1
@@ -309,7 +290,8 @@ paths:
              schema:
                $ref: '#/components/schemas/TrafficRule'
              examples:
                - TrafficRule:
                TrafficRule:
                  value:
                    trafficRuleId: TrafficRule123
                    serName: ExampleService
                    filterType: FLOW
@@ -433,7 +415,8 @@ paths:
                #       state: INACTIVE
                contentMediaType: application/json
              examples:
                -DnsRules:
                DnsRules:
                  value:
                    - dnsRuleId: DnsRule1
                      domainName: www.example.com
                      ipAddressType: IP_V4
@@ -522,7 +505,8 @@ paths:
              schema:
                $ref: '#/components/schemas/DnsRule'
              examples:
                - DnsRule:
                DnsRule:
                  value:
                    dnsRuleId: DnsRule1
                    domainName: www.example.com
                    ipAddressType: IP_V4
@@ -608,7 +592,8 @@ paths:
              schema:
                $ref: '#/components/schemas/DnsRule'
              examples:
                - DnsRule:
                DnsRule:
                  value:
                    dnsRuleId: DnsRule1
                    domainName: www.example.com
                    ipAddressType: IP_V4
@@ -2507,6 +2492,10 @@ components:
            type: string
          description: Fully Qualified Domain Name of the service. See note.
      description: 'This type represents information about a transport endpoint. '
    
    Not_specified:
      description: 'Not_specified'
    
    ServiceDependency:
      properties:
        requestedPermissions: