Commit 029c28b2 authored by Shlomi Hadad's avatar Shlomi Hadad
Browse files

Added example to DNS rule



Change-Id: I0604b9108e1f77a0ee6b753ed3e1fd905f5a16fb
Signed-off-by: default avatarShlomi Hadad <shlomi.hadad@saguna.net>
parent 8cb95f45
{
"DnsRule": {
"dnsRuleId": "DnsRule1",
"domainName": "www.example.com",
"ipAddressType": "IP_V4",
"ipAddress": "146.241.7.3",
"ttl": 300,
"state": "ACTIVE"
}
}
\ No newline at end of file
DnsRule:
dnsRuleId: DnsRule1
domainName: www.example.com
ipAddressType: IP_V4
ipAddress: 146.241.7.3
ttl: 300
state: ACTIVE
......@@ -10,4 +10,7 @@ responses:
type: object
properties:
DnsRule:
$ref: '#/definitions/DnsRule'
\ No newline at end of file
$ref: '#/definitions/DnsRule'
examples:
application/json:
$ref: '../examples/DnsRule.json'
\ No newline at end of file
......@@ -12,4 +12,8 @@ responses:
type: object
properties:
DnsRule:
$ref: '#/definitions/DnsRule'
\ No newline at end of file
$ref: '#/definitions/DnsRule'
examples:
application/json:
$ref: '../examples/DnsRule.json'
\ No newline at end of file
Supports Markdown
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