From e7ad8850fc8db13d7275da2bb23a6c2b915298bb Mon Sep 17 00:00:00 2001 From: Pierre Gerbelot Date: Fri, 6 Sep 2024 18:33:34 +0200 Subject: [PATCH] temp2 --- openapi.yaml | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index decd2732..b1637ef8 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -16079,21 +16079,30 @@ components: ports: type: array items: - oneOf: - - allOf: - - $ref: '#/components/schemas/HelmPortRequestCommonProperties' - - type: object - properties: - service_name: - type: string - - allOf: - - $ref: '#/components/schemas/HelmPortRequestCommonProperties' - - type: object - properties: - service_selectors: - type: array - items: - $ref: '#/components/schemas/KubernetesSelector' + type: object + required: + - service_name + - internal_port + properties: + name: + type: string + internal_port: + type: integer + example: 8080 + description: The listening port of your service. + external_port: + type: integer + example: 8080 + description: The exposed port for your service. This is optional. If not set a default port will be used. + service_name: + type: string + namespace: + type: string + protocol: + $ref: '#/components/schemas/HelmPortProtocolEnum' + is_default: + type: boolean + description: is the default port to use for domain HelmForceEvent: type: string enum: