mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 13:55:20 +00:00
fix token examples in schema
This commit is contained in:
parent
63af99aa59
commit
b99a648670
7 changed files with 9 additions and 18 deletions
|
|
@ -15,9 +15,8 @@ const schema = {
|
||||||
"token": {
|
"token": {
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
@ -208,9 +207,8 @@ const schema = {
|
||||||
"$ref": "#/oneOf/0/properties/token",
|
"$ref": "#/oneOf/0/properties/token",
|
||||||
"description": "An authentication token.",
|
"description": "An authentication token.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -346,9 +344,8 @@ const schema = {
|
||||||
"$ref": "#/oneOf/0/properties/token",
|
"$ref": "#/oneOf/0/properties/token",
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@ const schema = {
|
||||||
"token": {
|
"token": {
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@ const schema = {
|
||||||
"token": {
|
"token": {
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@ const schema = {
|
||||||
"token": {
|
"token": {
|
||||||
"description": "An authentication token.",
|
"description": "An authentication token.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@
|
||||||
"$ref": "./shared.json#/definitions/Token",
|
"$ref": "./shared.json#/definitions/Token",
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@
|
||||||
"$ref": "./shared.json#/definitions/Token",
|
"$ref": "./shared.json#/definitions/Token",
|
||||||
"description": "A Personal Access Token (PAT).",
|
"description": "A Personal Access Token (PAT).",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,8 @@
|
||||||
"$ref": "./shared.json#/definitions/Token",
|
"$ref": "./shared.json#/definitions/Token",
|
||||||
"description": "An authentication token.",
|
"description": "An authentication token.",
|
||||||
"examples": [
|
"examples": [
|
||||||
"secret-token",
|
|
||||||
{
|
{
|
||||||
"env": "ENV_VAR_CONTAINING_TOKEN"
|
"secret": "SECRET_KEY"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue