From d548503c811a2e9ad45647608760aa2a2934465c Mon Sep 17 00:00:00 2001 From: Shlomi Hadad Date: Tue, 28 Nov 2017 14:50:30 +0200 Subject: [PATCH] Added Traffic rules example in paths Change-Id: I9929dbb72647ce5f5e84cc6193db0c164060bd8e --- paths/ApplicationsTrafficRule.GET.yaml | 5 ++++- paths/ApplicationsTrafficRule.PUT.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/paths/ApplicationsTrafficRule.GET.yaml b/paths/ApplicationsTrafficRule.GET.yaml index f54dfa7..ae232c1 100644 --- a/paths/ApplicationsTrafficRule.GET.yaml +++ b/paths/ApplicationsTrafficRule.GET.yaml @@ -10,4 +10,7 @@ responses: type: object properties: TrafficRule: - $ref: '#/definitions/TrafficRule' \ No newline at end of file + $ref: '#/definitions/TrafficRule' + examples: + application/json: + $ref: '../examples/TrafficRule.json' \ No newline at end of file diff --git a/paths/ApplicationsTrafficRule.PUT.yaml b/paths/ApplicationsTrafficRule.PUT.yaml index 77da520..dbef6ff 100644 --- a/paths/ApplicationsTrafficRule.PUT.yaml +++ b/paths/ApplicationsTrafficRule.PUT.yaml @@ -12,4 +12,7 @@ responses: type: object properties: TrafficRule: - $ref: '#/definitions/TrafficRule' \ No newline at end of file + $ref: '#/definitions/TrafficRule' + examples: + application/json: + $ref: '../examples/TrafficRule.json' \ No newline at end of file -- GitLab