К содержимому

Service ​

Тип: object additionalProperties: false

ПолеОбязательноеТипОписание и ограничения
codeДаstring
nameДаstring
descriptionДаstring
env_fromДаarray<string>Отсортированные имена переменных окружения без значений.

JSON Schema ​

json
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "code",
    "name",
    "description",
    "env_from"
  ],
  "properties": {
    "code": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "env_from": {
      "description": "Sorted environment variable names; never their values.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}

Все схемы · HTTP API