diff --git a/examples/DnsRule.json b/examples/DnsRule.json new file mode 100644 index 0000000000000000000000000000000000000000..0ec606f13162328473922782d51fe93131ec3dd7 --- /dev/null +++ b/examples/DnsRule.json @@ -0,0 +1,10 @@ +{ + "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 diff --git a/examples/DnsRule.yaml b/examples/DnsRule.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b140e94cbd586053f9d9f6fd0c1ec89112b2785e --- /dev/null +++ b/examples/DnsRule.yaml @@ -0,0 +1,7 @@ +DnsRule: + dnsRuleId: DnsRule1 + domainName: www.example.com + ipAddressType: IP_V4 + ipAddress: 146.241.7.3 + ttl: 300 + state: ACTIVE diff --git a/paths/ApplicationsDnsRule.GET.yaml b/paths/ApplicationsDnsRule.GET.yaml index a2d234645087fa3e992078165cd9c949a22ec2fe..3d6ada9b0487528b7ef9b6d423dcc0b592b5462a 100644 --- a/paths/ApplicationsDnsRule.GET.yaml +++ b/paths/ApplicationsDnsRule.GET.yaml @@ -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 diff --git a/paths/ApplicationsDnsRule.PUT.yaml b/paths/ApplicationsDnsRule.PUT.yaml index 00542f734798fb9baabbe594b4b345e67f382bb5..c2c3dbda89ade10332774f0966b8fdd192567b96 100644 --- a/paths/ApplicationsDnsRule.PUT.yaml +++ b/paths/ApplicationsDnsRule.PUT.yaml @@ -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