Commit 241380e2 authored by Walter Featherstone's avatar Walter Featherstone

Bug 83 OpenAPI examples and documentation mismatch

Signed-off-by: Walter Featherstone's avatarfeatherstone <walter.featherstone@viavisolutions.com>
parent 1f01c74f
......@@ -175,7 +175,7 @@
}
},
"examples": {
"application/json": {
"application/json": [{
"DnsRule": {
"dnsRuleId": "DnsRule1",
"domainName": "www.example.com",
......@@ -184,7 +184,7 @@
"ttl": 300,
"state": "ACTIVE"
}
}
}]
}
},
"400": {
......@@ -652,7 +652,7 @@
}
},
"examples": {
"application/json": {
"application/json": [{
"TrafficRule": {
"trafficRuleId": "TrafficRule123",
"serName": "ExampleService",
......@@ -677,7 +677,7 @@
},
"state": "ACTIVE"
}
}
}]
}
},
"400": {
......@@ -946,7 +946,7 @@
}
},
"examples": {
"application/json": {
"application/json": [{
"ServiceInfo": {
"serInstanceId": "ServiceInstance123",
"serName": "ExampleService",
......@@ -986,7 +986,7 @@
},
"serializer": "JSON"
}
}
}]
}
},
"400": {
......
......@@ -139,7 +139,7 @@ paths:
$ref: '#/definitions/DnsRule'
examples:
application/json:
DnsRule:
- DnsRule:
dnsRuleId: DnsRule1
domainName: www.example.com
ipAddressType: IP_V4
......@@ -439,7 +439,7 @@ paths:
$ref: '#/definitions/TrafficRule'
examples:
application/json:
TrafficRule:
- TrafficRule:
trafficRuleId: TrafficRule123
serName: ExampleService
filterType: FLOW
......@@ -627,7 +627,7 @@ paths:
$ref: '#/definitions/ServiceInfo'
examples:
application/json:
ServiceInfo:
- ServiceInfo:
serInstanceId: ServiceInstance123
serName: ExampleService
serCategory:
......
......@@ -15,7 +15,7 @@ responses:
$ref: '#/definitions/DnsRule'
examples:
application/json:
DnsRule:
- DnsRule:
dnsRuleId: DnsRule1
domainName: www.example.com
ipAddressType: IP_V4
......
......@@ -13,7 +13,7 @@ responses:
$ref: '#/definitions/TrafficRule'
examples:
application/json:
TrafficRule:
- TrafficRule:
trafficRuleId: TrafficRule123
serName: ExampleService
filterType: FLOW
......
......@@ -19,7 +19,7 @@ responses:
$ref: '#/definitions/ServiceInfo'
examples:
application/json:
ServiceInfo:
- ServiceInfo:
serInstanceId: ServiceInstance123
serName: ExampleService
serCategory:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment