Skip to content

Commit

Permalink
[schema] Added human readable values for access_points and "802.11s"
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Apr 5, 2016
1 parent d91e671 commit 92f9a43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions netjsonconfig/schema.py
Expand Up @@ -431,7 +431,9 @@
"ap_wireless_settings": {
"title": "Access Point",
"allOf": [
{"properties": {"mode": {"enum": ["access_point"]}}},
{"properties": {
"mode": {"enum": ["access_point"],
"options": {"enum_titles": ["access point"]}}}},
{"$ref": "#/definitions/base_wireless_settings"},
{"$ref": "#/definitions/ssid_wireless_property"},
{"$ref": "#/definitions/hidden_wireless_property"},
Expand Down Expand Up @@ -470,7 +472,9 @@
"mesh_wireless_settings": {
"title": "802.11s (mesh)",
"allOf": [
{"properties": {"mode": {"enum": ["802.11s"]}}},
{"properties": {
"mode": {"enum": ["802.11s"],
"options": {"enum_titles": ["802.11s (mesh)"]}}}},
{"$ref": "#/definitions/base_wireless_settings"},
{"$ref": "#/definitions/mesh_id_wireless_property"},
{"$ref": "#/definitions/encryption_wireless_property"},
Expand Down

0 comments on commit 92f9a43

Please sign in to comment.