mirror of
https://github.com/jambonz/jambonz-node.git
synced 2026-07-24 13:02:42 +00:00
add support for env schema, allowing users to provide environment variables for an application
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"text": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"/hello": {
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "invalid_type",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"text": {
|
||||
"type": "invalid_type"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"/hello": {
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "invalid_type",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"text": {
|
||||
"description": "Default text property",
|
||||
"type": "string"
|
||||
},
|
||||
"/hello": {
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"timeout": {
|
||||
"description": "Timeout in seconds",
|
||||
"type": "number",
|
||||
"default": 30
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"apiKey": {
|
||||
"description": "API key for the service",
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"obscure": true,
|
||||
"value": "secret123"
|
||||
},
|
||||
"/hello": {
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"/hello": {
|
||||
"text": {
|
||||
"description": "Welcome message",
|
||||
"type": "string",
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user