Skip to content

Commit 80e949e

Browse files
authored
Merge pull request #287 from ksyhoo/fix/building_sockets_basics_updated
Updated hello-world socket YML file to current version
2 parents a439aae + 3055751 commit 80e949e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/docs/building-sockets/basics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Later, you will be asked to choose the template:
5050
? Choose template for your Socket (Use arrow keys)
5151
Vanilla JS Socket - (@syncano/template-socket-vanilla)
5252
❯ ES6 Socket - (@syncano/template-socket-es6)
53+
ES6 Socket + validation - (@syncano/template-socket-es6-validate)
5354
5455
5556
Your Socket configuration is stored at /Users/qk/my_project/syncano/hello-world
@@ -68,6 +69,9 @@ endpoints:
6869
hello:
6970
description: Hello world!
7071
inputs:
72+
required:
73+
- firstname
74+
- lastname
7175
properties:
7276
firstname:
7377
type: string

0 commit comments

Comments
 (0)