diff --git a/src/resources/variable/VariablesImport.yaml b/src/resources/variable/VariablesImport.yaml index ed3d4582..4dbb6f1f 100644 --- a/src/resources/variable/VariablesImport.yaml +++ b/src/resources/variable/VariablesImport.yaml @@ -11,11 +11,11 @@ post: format: uuid description: service id - in: query - name: scope + name: service_type required: true schema: - $ref: '../../schemas/enums/APIVariableScope.yaml' - description: scope + $ref: '../../schemas/enums/ServiceTypeForVariable.yaml' + description: service type tags: - Variable Main Calls requestBody: diff --git a/src/schemas/_index.yaml b/src/schemas/_index.yaml index 7ffd8359..6990ab04 100644 --- a/src/schemas/_index.yaml +++ b/src/schemas/_index.yaml @@ -742,3 +742,5 @@ OrganizationJobAutoDeployRequest: $ref: ./OrganizationJobAutoDeployRequest.yaml RegistryMirroringModeEnum: $ref: ./enums/RegistryMirroringMode.yaml +ServiceTypeForVariableEnum: + $ref: ./enums/ServiceTypeForVariable.yaml diff --git a/src/schemas/enums/LinkedServiceType.yaml b/src/schemas/enums/LinkedServiceType.yaml index fb324c37..c77d12e8 100644 --- a/src/schemas/enums/LinkedServiceType.yaml +++ b/src/schemas/enums/LinkedServiceType.yaml @@ -5,3 +5,4 @@ enum: - CONTAINER - DATABASE - JOB + - HELM diff --git a/src/schemas/enums/ServiceTypeForVariable.yaml b/src/schemas/enums/ServiceTypeForVariable.yaml new file mode 100644 index 00000000..088a1889 --- /dev/null +++ b/src/schemas/enums/ServiceTypeForVariable.yaml @@ -0,0 +1,7 @@ +type: string +description: type of the service +enum: + - APPLICATION + - CONTAINER + - JOB + - HELM