Skip to content

Commit

Permalink
Add proxy.json schema (#493)
Browse files Browse the repository at this point in the history
Co-authored-by: Comte <[email protected]>
  • Loading branch information
ihiverlet and fcomte authored Sep 12, 2024
1 parent 1f470be commit 9565aa7
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions onyxia-api/src/main/resources/schemas/proxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Proxy",
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Inject proxy settings",
"default": false,
"x-onyxia": {
"hidden": true
}
},
"httpProxy": {
"type": "string",
"description": "Proxy URL for HTTP requests",
"default": "",
"x-onyxia": {
"hidden": true
}
},
"httpsProxy": {
"type": "string",
"description": "Proxy URL for HTTPS requests",
"default": "",
"x-onyxia": {
"hidden": true
}
},
"noProxy": {
"type": "string",
"description": "Comma separated list of hosts for which proxy is bypassed",
"default": "",
"x-onyxia": {
"hidden": true
}
}
}
}

0 comments on commit 9565aa7

Please sign in to comment.