Commit f2042b0a authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

fix examples in MecAppSupportAPI.yaml

parent a3eabd54
Loading
Loading
Loading
Loading
Loading
+64 −64
Original line number Diff line number Diff line
@@ -60,31 +60,31 @@ paths:
                items:
                  $ref: '#/components/schemas/TrafficRule'
                description: ''
                examples:
                  - - trafficRuleId: TrafficRule123
                      filterType: FLOW
                      priority: 1
                      trafficFilter:
                        - srcAddress:
                            - 192.127.4.100/32
                            - 192.127.4.101/32
                          dstAddress:
                            - 192.127.4.102/32
                            - 192.127.4.103/32
                          srcPort:
                            - '80'
                          dstPort:
                            - '80'
                      action: FORWARD_DECAPSULATED
                      dstInterface:
                        - dstInterface: null
                          interfaceType: IP
                          tunnelInfo: tunnel
                          dstIpAddress: 20.1.1.1
                      state: ACTIVE
                # examples:
                #   - - trafficRuleId: TrafficRule123
                #       filterType: FLOW
                #       priority: 1
                #       trafficFilter:
                #         - srcAddress:
                #             - 192.127.4.100/32
                #             - 192.127.4.101/32
                #           dstAddress:
                #             - 192.127.4.102/32
                #             - 192.127.4.103/32
                #           srcPort:
                #             - '80'
                #           dstPort:
                #             - '80'
                #       action: FORWARD_DECAPSULATED
                #       dstInterface:
                #         - dstInterface: null
                #           interfaceType: IP
                #           tunnelInfo: tunnel
                #           dstIpAddress: 20.1.1.1
                #       state: ACTIVE
                contentMediaType: application/json
              examples:
                TrafficRules:
                - TrafficRules:
                    - trafficRuleId: TrafficRule123
                      filterType: FLOW
                      priority: 1
@@ -106,7 +106,7 @@ paths:
                          tunnelInfo: tunnel
                          dstIpAddress: 20.1.1.1
                      state: ACTIVE
                  - trafficRuleId: TrafficRule456
                    - trafficRuleId: TrafficRule345
                      filterType: FLOW
                      priority: 1
                      trafficFilter:
@@ -418,22 +418,22 @@ paths:
                items:
                  $ref: '#/components/schemas/DnsRule'
                description: ''
                examples:
                  - - dnsRuleId: DnsRule1
                      domainName: www.example.com
                      ipAddressType: IP_V4
                      ipAddress: 146.241.7.3
                      ttl: 300
                      state: ACTIVE
                    - dnsRuleId: DnsRule2
                      domainName: www.example.com
                      ipAddressType: IP_V4
                      ipAddress: 146.241.7.4
                      ttl: 300
                      state: INACTIVE
                # examples:
                #   - - dnsRuleId: DnsRule1
                #       domainName: www.example.com
                #       ipAddressType: IP_V4
                #       ipAddress: 146.241.7.3
                #       ttl: 300
                #       state: ACTIVE
                #     - dnsRuleId: DnsRule2
                #       domainName: www.example.com
                #       ipAddressType: IP_V4
                #       ipAddress: 146.241.7.4
                #       ttl: 300
                #       state: INACTIVE
                contentMediaType: application/json
              examples:
                DnsRules:
                -DnsRules:
                    - dnsRuleId: DnsRule1
                      domainName: www.example.com
                      ipAddressType: IP_V4