Skip to content
Snippets Groups Projects
Commit 01899877 authored by Jakob Olsson's avatar Jakob Olsson
Browse files

disallow additional properties

parent 9a9e904e
No related branches found
No related tags found
No related merge requests found
...@@ -89,6 +89,7 @@ ...@@ -89,6 +89,7 @@
"title": "wifi.ap.iface", "title": "wifi.ap.iface",
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.iopsys.eu/wifi.ap", "$id": "https://www.iopsys.eu/wifi.ap",
"additionalProperties": false,
"properties": { "properties": {
"add_neighbor": { "add_neighbor": {
"type": "object", "type": "object",
......
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
"$id": "https://www.iopsys.eu/wifi", "$id": "https://www.iopsys.eu/wifi",
"type": "object", "type": "object",
"title": "Wifi", "title": "Wifi",
"additionalProperties": false,
"properties": { "properties": {
"status": { "status": {
"type": "object", "type": "object",
...@@ -199,4 +200,4 @@ ...@@ -199,4 +200,4 @@
} }
} }
} }
} }
\ No newline at end of file
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
"description": "WiFi Radio Object", "description": "WiFi Radio Object",
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.iopsys.eu/wifi.radio", "$id": "https://www.iopsys.eu/wifi.radio",
"additionalProperties": false,
"properties": { "properties": {
"autochannel": { "autochannel": {
"type": "object", "type": "object",
......
...@@ -16,10 +16,15 @@ ...@@ -16,10 +16,15 @@
"title": "wifi.wps", "title": "wifi.wps",
"$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://www.iopsys.eu/wifi.wps", "$id": "https://www.iopsys.eu/wifi.wps",
"additionalProperties": false,
"properties": { "properties": {
"generate_pin": { "generate_pin": {
"type": "object", "type": "object",
"properties": { "properties": {
"input": {
"type": "object",
"properties": {}
},
"output": { "output": {
"type": "object", "type": "object",
"required": [ "required": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment