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

fix examples and identation in MEC011 APIs

parent 503df83b
Loading
Loading
Loading
Loading
Loading
+73 −81
Original line number Original line Diff line number Diff line
@@ -119,10 +119,8 @@
                  ],
                  ],
                  "contentMediaType": "application/json"
                  "contentMediaType": "application/json"
                },
                },
                "examples": [
                "examples": {
                  {
                  "TrafficRules": [
                    "TrafficRule": {
                      "value": [
                    {
                    {
                      "trafficRuleId": "TrafficRule123",
                      "trafficRuleId": "TrafficRule123",
                      "filterType": "FLOW",
                      "filterType": "FLOW",
@@ -184,8 +182,6 @@
                  ]
                  ]
                }
                }
              }
              }
                ]
              }
            }
            }
          },
          },
          "400": {
          "400": {
@@ -569,10 +565,8 @@
                  ],
                  ],
                  "contentMediaType": "application/json"
                  "contentMediaType": "application/json"
                },
                },
                "examples": [
                "examples": {
                  {
                  "DnsRules": [
                    "DnsRules": {
                      "value": [
                    {
                    {
                      "dnsRuleId": "DnsRule1",
                      "dnsRuleId": "DnsRule1",
                      "domainName": "www.example.com",
                      "domainName": "www.example.com",
@@ -592,8 +586,6 @@
                  ]
                  ]
                }
                }
              }
              }
                ]
              }
            }
            }
          },
          },
          "400": {
          "400": {
+56 −58
Original line number Original line Diff line number Diff line
@@ -84,8 +84,7 @@ paths:
                      state: ACTIVE
                      state: ACTIVE
                contentMediaType: application/json
                contentMediaType: application/json
              examples:
              examples:
                - TrafficRules:
                TrafficRules:
                    value:
                  - trafficRuleId: TrafficRule123
                  - trafficRuleId: TrafficRule123
                    filterType: FLOW
                    filterType: FLOW
                    priority: 1
                    priority: 1
@@ -434,8 +433,7 @@ paths:
                      state: INACTIVE
                      state: INACTIVE
                contentMediaType: application/json
                contentMediaType: application/json
              examples:
              examples:
                - DnsRules:
                DnsRules:
                    value:
                  - dnsRuleId: DnsRule1
                  - dnsRuleId: DnsRule1
                    domainName: www.example.com
                    domainName: www.example.com
                    ipAddressType: IP_V4
                    ipAddressType: IP_V4
+156 −164
Original line number Original line Diff line number Diff line
@@ -552,10 +552,8 @@
                  ],
                  ],
                  "contentMediaType": "application/json"
                  "contentMediaType": "application/json"
                },
                },
                "examples": [
                "examples": {
                  {
                  "ServiceInfoList": [
                    "ServiceInfoList": {
                      "value": [
                    {
                    {
                      "serInstanceId": "ServiceInstance123",
                      "serInstanceId": "ServiceInstance123",
                      "serName": "ExampleService",
                      "serName": "ExampleService",
@@ -639,8 +637,6 @@
                  ]
                  ]
                }
                }
              }
              }
                ]
              }
            }
            }
          },
          },
          "400": {
          "400": {
@@ -1349,10 +1345,8 @@
                  ],
                  ],
                  "contentMediaType": "application/json"
                  "contentMediaType": "application/json"
                },
                },
                "examples": [
                "examples": {
                  {
                  "ServiceInfoList": [
                    "ServiceInfoList": {
                      "value": [
                    {
                    {
                      "serInstanceId": "ServiceInstance123",
                      "serInstanceId": "ServiceInstance123",
                      "serName": "ExampleService",
                      "serName": "ExampleService",
@@ -1436,8 +1430,6 @@
                  ]
                  ]
                }
                }
              }
              }
                ]
              }
            }
            }
          },
          },
          "400": {
          "400": {
+118 −120
Original line number Original line Diff line number Diff line
@@ -471,8 +471,7 @@ paths:
                          href: http://example.com/
                          href: http://example.com/
                contentMediaType: application/json
                contentMediaType: application/json
              examples:
              examples:
                - ServiceInfoList:
                ServiceInfoList:
                    value:
                  - serInstanceId: ServiceInstance123
                  - serInstanceId: ServiceInstance123
                    serName: ExampleService
                    serName: ExampleService
                    serCategory:
                    serCategory:
@@ -1110,8 +1109,7 @@ paths:
                          href: http://example.com/
                          href: http://example.com/
                contentMediaType: application/json
                contentMediaType: application/json
              examples:
              examples:
                - ServiceInfoList:
                ServiceInfoList:
                    value:
                  - serInstanceId: ServiceInstance123
                  - serInstanceId: ServiceInstance123
                    serName: ExampleService
                    serName: ExampleService
                    serCategory:
                    serCategory: