Skip to content

Commit

Permalink
Used enum instead of string for the signature scheme type
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Feb 26, 2024
1 parent e8209ab commit f357187
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions connectionfile-spec/connectionfile.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"required": ["signature_scheme", "key"],
"properties": {
"signature_scheme": {
"type": "string",
"enum": ["hmac-md5","hmac-sha256","hmac-sha512"],
"description": "scheme used to sign the messages"
},
"key": {
Expand All @@ -34,23 +34,23 @@
"description": "ip of the machine where the kernel runs"
},
"shell_port": {
"type": "string",
"type": ["integer","string"],
"description": "port used by the shell channel"
},
"control_port": {
"type": "string",
"type": ["integer","string"],
"description": "port used by the control channel"
},
"stdin_port": {
"type": "string",
"type": ["integer","string"],
"description": "port used by the stdin channel"
},
"hb_port": {
"type": "string",
"type": ["integer","string"],
"description": "port used by the heartbeat channel"
},
"iopub_port": {
"type": "string",
"type": ["ingerer","string"],
"description": "port used by the iopub channel"
}
}
Expand Down

0 comments on commit f357187

Please sign in to comment.