From 1ae92d7f1137a35e61879cd935c26d15629cbd30 Mon Sep 17 00:00:00 2001 From: ruzhaoppo <45154961+ruzhaoppo@users.noreply.github.com> Date: Tue, 1 Sep 2020 11:21:08 +0800 Subject: [PATCH] Update oic.wk.res.swagger.json Add query param for supporting SDI-based discovery(CR3079). --- swagger2.0/oic.wk.res.swagger.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/swagger2.0/oic.wk.res.swagger.json b/swagger2.0/oic.wk.res.swagger.json index de67937..544d13e 100644 --- a/swagger2.0/oic.wk.res.swagger.json +++ b/swagger2.0/oic.wk.res.swagger.json @@ -25,7 +25,8 @@ "description": "Links list representation of /oic/res; list of discoverable Resources\n", "parameters": [ { - "$ref": "#/parameters/interface-all" + "$ref": "#/parameters/interface-all", + "$ref": "#/parameters/SecurityDomain" } ], "responses": { @@ -106,7 +107,8 @@ "description": "Baseline representation of /oic/res; list of discoverable Resources\n", "parameters": [ { - "$ref": "#/parameters/interface-all" + "$ref": "#/parameters/interface-all", + "$ref": "#/parameters/SecurityDomain" } ], "responses": { @@ -154,7 +156,14 @@ "name": "if", "type": "string", "enum": ["oic.if.ll", "oic.if.b", "oic.if.baseline"] - } + }, + "SecurityDomain": { + "description": "Filter devices by Security Domain", + "in": "query", + "name": "sduuid", + "type": "string", + "format": "uuid" + } }, "definitions": { "oic.oic-link": {