mirror of
https://github.com/go-task/task.git
synced 2026-09-01 11:39:28 +02:00
docs(remote): add the remote.auth schema to next-schema-taskrc.json
Same next/latest split as the docs: schema.json and schema-taskrc.json are the frozen copies served for the released version.
This commit is contained in:
@@ -49,6 +49,28 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"type": "array",
|
||||
"description": "HTTP headers to send when downloading remote Taskfiles, per host.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"type": "string",
|
||||
"description": "Host the headers apply to, including the port if the URL has one (e.g., 'gitlab.com', 'example.com:8080')."
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"description": "Headers to send. Values may reference environment variables with ${VAR} or $VAR.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["host", "headers"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
@@ -49,28 +49,6 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"auth": {
|
||||
"type": "array",
|
||||
"description": "HTTP headers to send when downloading remote Taskfiles, per host.",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"host": {
|
||||
"type": "string",
|
||||
"description": "Host the headers apply to, including the port if the URL has one (e.g., 'gitlab.com', 'example.com:8080')."
|
||||
},
|
||||
"headers": {
|
||||
"type": "object",
|
||||
"description": "Headers to send. Values may reference environment variables with ${VAR} or $VAR.",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["host", "headers"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user