From 6fe0f889bf5212f6f98514f1005077cc0ed8d432 Mon Sep 17 00:00:00 2001 From: Comte Date: Wed, 6 Nov 2024 10:37:46 +0100 Subject: [PATCH] Add extraenv.json (#514) --- .../main/resources/schemas/ide/extraenv.json | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 onyxia-api/src/main/resources/schemas/ide/extraenv.json diff --git a/onyxia-api/src/main/resources/schemas/ide/extraenv.json b/onyxia-api/src/main/resources/schemas/ide/extraenv.json new file mode 100644 index 00000000..03c6c9dd --- /dev/null +++ b/onyxia-api/src/main/resources/schemas/ide/extraenv.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "description": "environment variables available within your service", + "type": "array", + "default": [], + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "default": "CHANGE_ME", + "pattern": "^[^ ]+$" + }, + "value": { + "type": "string", + "default": "" + } + } + } + } \ No newline at end of file