Commit fffddef4 authored by Marek Szkowron's avatar Marek Szkowron Committed by Kishen Maloor

Add /oc/con to server_certification_IDD

parent 1b5efd90
Pipeline #995 passed with stage
in 10 minutes and 6 seconds
...@@ -7,6 +7,48 @@ ...@@ -7,6 +7,48 @@
"application/json" "application/json"
], ],
"paths":{ "paths":{
"/oc/con": {
"get": {
"description": "",
"parameters": [
{
"$ref": "#/parameters/interface-rw"
}
],
"responses": {
"200": {
"description" : "",
"schema": {
"$ref": "#/definitions/Configuration"
}
}
}
},
"post": {
"description": "",
"parameters": [
{
"$ref": "#/parameters/interface-rw"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ConfigurationUpdate"
}
}
],
"responses": {
"200": {
"description": "",
"schema": {
"$ref": "#/definitions/ConfigurationUpdate"
}
}
}
}
},
"/platform?if=oic.if.ll":{ "/platform?if=oic.if.ll":{
"get":{ "get":{
"responses":{ "responses":{
...@@ -142,7 +184,7 @@ ...@@ -142,7 +184,7 @@
}, },
"parameters":[ "parameters":[
{ {
"$ref":"#/parameters/interface-update" "$ref":"#/parameters/interface-all40"
}, },
{ {
"schema":{ "schema":{
...@@ -232,7 +274,7 @@ ...@@ -232,7 +274,7 @@
}, },
"parameters":[ "parameters":[
{ {
"$ref":"#/parameters/interface-all" "$ref":"#/parameters/interface-rw"
} }
], ],
"description":"" "description":""
...@@ -250,7 +292,7 @@ ...@@ -250,7 +292,7 @@
}, },
"parameters":[ "parameters":[
{ {
"$ref":"#/parameters/interface-update" "$ref":"#/parameters/interface-all40"
}, },
{ {
"schema":{ "schema":{
...@@ -350,7 +392,7 @@ ...@@ -350,7 +392,7 @@
"description":"" "description":""
}, },
"tag-pos-desc":{ "tag-pos-desc":{
"description":"Descriptive relative position of the Resource", "description":"",
"type":"string", "type":"string",
"enum":[ "enum":[
"unknown", "unknown",
...@@ -378,7 +420,7 @@ ...@@ -378,7 +420,7 @@
"tag-pos-rel":{ "tag-pos-rel":{
"type":"array", "type":"array",
"readOnly":true, "readOnly":true,
"description":"Relative position; against a known [0,0,0] point.", "description":"",
"minItems":3, "minItems":3,
"maxItems":3, "maxItems":3,
"items":{ "items":{
...@@ -430,7 +472,7 @@ ...@@ -430,7 +472,7 @@
"items":{ "items":{
"properties":{ "properties":{
"tag-pos-desc":{ "tag-pos-desc":{
"description":"Descriptive relative position of the Resource", "description":"",
"type":"string", "type":"string",
"enum":[ "enum":[
"unknown", "unknown",
...@@ -690,7 +732,7 @@ ...@@ -690,7 +732,7 @@
"description":"" "description":""
}, },
"tag-pos-desc":{ "tag-pos-desc":{
"description":"Descriptive relative position of the Resource", "description":"",
"type":"string", "type":"string",
"enum":[ "enum":[
"unknown", "unknown",
...@@ -869,7 +911,7 @@ ...@@ -869,7 +911,7 @@
"items":{ "items":{
"properties":{ "properties":{
"tag-pos-desc":{ "tag-pos-desc":{
"description":"Descriptive relative position of the Resource", "description":"",
"type":"string", "type":"string",
"enum":[ "enum":[
"unknown", "unknown",
...@@ -1195,7 +1237,7 @@ ...@@ -1195,7 +1237,7 @@
"oic.oic-link":{ "oic.oic-link":{
"properties":{ "properties":{
"tag-pos-desc":{ "tag-pos-desc":{
"description":"Descriptive relative position of the Resource", "description":"",
"type":"string", "type":"string",
"enum":[ "enum":[
"unknown", "unknown",
...@@ -1335,7 +1377,7 @@ ...@@ -1335,7 +1377,7 @@
"description":"" "description":""
}, },
"di":{ "di":{
"type":"string", "type":"string",
"pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", "pattern":"^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
"description":"" "description":""
}, },
...@@ -1350,16 +1392,67 @@ ...@@ -1350,16 +1392,67 @@
"if" "if"
], ],
"type":"object" "type":"object"
} },
"Configuration": {
"properties": {
"rt": {
"description": "",
"items": {
"enum": ["oic.wk.con"],
"type": "string",
"maxLength": 64
},
"minItems": 1,
"uniqueItems": true,
"readOnly": true,
"type": "array",
"default": ["oic.wk.con"]
},
"n": {
"type": "string",
"readOnly": true,
"maxLength": 64,
"description": ""
},
"if" : {
"description": "",
"items": {
"enum": [
"oic.if.baseline",
"oic.if.rw"
],
"type": "string",
"maxLength": 64
},
"minItems": 1,
"uniqueItems": true,
"readOnly": true,
"type": "array"
}
},
"type" : "object",
"required": ["n"]
},
"ConfigurationUpdate" : {
"properties": {
"n": {
"description": "",
"maxLength": 64,
"type": "string"
}
},
"required": ["n"],
"type" : "object"
}
}, },
"info":{ "info":{
"version":"20190215", "version":"20190215",
"title":"serverlite24521", "title":"serverlite",
"termsOfService":"https://openconnectivityfoundation.github.io/core/DISCLAIMER.md", "termsOfService":"",
"license":{ "license":{
"x-copyright":"copyright 2016-2017, 2019 Open Connectivity Foundation, Inc. All rights reserved.", "x-copyright":"",
"url":"https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md", "url":"",
"name":"OCF Data Model License" "name":""
} }
}, },
"parameters":{ "parameters":{
...@@ -1371,7 +1464,6 @@ ...@@ -1371,7 +1464,6 @@
], ],
"in":"query", "in":"query",
"name":"units", "name":"units",
"x-queryexample":"/TemperatureResURI?units=C",
"description":"", "description":"",
"type":"string" "type":"string"
}, },
...@@ -1384,17 +1476,6 @@ ...@@ -1384,17 +1476,6 @@
"in":"query", "in":"query",
"name":"if" "name":"if"
}, },
"interface-update":{
"enum":[
"oic.if.ll",
"oic.if.create",
"oic.if.b",
"oic.if.baseline"
],
"type":"string",
"in":"query",
"name":"if"
},
"interface30":{ "interface30":{
"enum":[ "enum":[
"oic.if.r", "oic.if.r",
...@@ -1425,7 +1506,7 @@ ...@@ -1425,7 +1506,7 @@
}, },
"interface-all40":{ "interface-all40":{
"enum":[ "enum":[
"oic.if.ll", "oic.if.ll",
"oic.if.create", "oic.if.create",
"oic.if.b", "oic.if.b",
"oic.if.baseline" "oic.if.baseline"
...@@ -1434,15 +1515,6 @@ ...@@ -1434,15 +1515,6 @@
"in":"query", "in":"query",
"name":"if" "name":"if"
}, },
"interface-all":{
"enum":[
"oic.if.rw",
"oic.if.baseline"
],
"type":"string",
"in":"query",
"name":"if"
},
"platforminterface-all":{ "platforminterface-all":{
"enum":[ "enum":[
"oic.if.baseline" "oic.if.baseline"
......
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