Commit a9ed4da5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Add sample for required field

parent d058b2a9
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
"type": "object", "type": "object",
"description": "Sample paremeters for a Simple Demo", "description": "Sample paremeters for a Simple Demo",
"additionalProperties": false, "additionalProperties": false,
"required": [
"simple-string-required"
],
"properties": { "properties": {
"simple-string": { "simple-string": {
"title": "Example of Simple String", "title": "Example of Simple String",
...@@ -21,6 +24,12 @@ ...@@ -21,6 +24,12 @@
], ],
"default": "simple string A" "default": "simple string A"
}, },
"simple-string-required": {
"title": "Example of Simple String Required",
"description": "Example of Simple String",
"type": "string",
"default": "Simple string "
},
"simple-boolean": { "simple-boolean": {
"title": "Example of Simple String", "title": "Example of Simple String",
"description": "Example of Simple String", "description": "Example of Simple String",
......
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