diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-04-10 18:09:02 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:41:13 +0200 |
commit | 2eab98674426d4287b9a9f4d34ab7b5ced5cfdc9 (patch) | |
tree | 04c2961c3c8f4f3c3819e3d36703f23a05d14f6e /src/harvester-apidef.json | |
parent | 9ef2eba5e4344c1370754004a997970ca11e16ca (diff) |
Splitting code source, cleaning.
Change-Id: I97c2a409d05ceb9babb23c23fbf818316d01419b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/harvester-apidef.json')
-rw-r--r-- | src/harvester-apidef.json | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/harvester-apidef.json b/src/harvester-apidef.json index 3ae3dee..ff51a38 100644 --- a/src/harvester-apidef.json +++ b/src/harvester-apidef.json @@ -130,7 +130,10 @@ "in": "query", "name": "port", "required": false, - "schema": { "type": "integer" } + "schema": { "oneOf": [ + {"type": "integer"}, + {"type": "string"} + ]} }, { "in": "query", @@ -158,6 +161,12 @@ }, { "in": "query", + "name": "priority", + "required": false, + "schema": { "type": "string" } + }, + { + "in": "query", "name": "identity", "required": false, "schema": { "type": "string" } |