From 39513fc53ef86f59370df21bd1fc92f6d1c2aac7 Mon Sep 17 00:00:00 2001 From: "vertex-nexa[bot]" <149347004+vertex-nexa[bot]@users.noreply.github.com> Date: Sun, 17 Dec 2023 01:59:50 +0000 Subject: [PATCH] Update openapi.*. --- openapi.containers.yaml | 14 +++++--------- openapi.reverse-proxy.yaml | 8 ++------ openapi.sql.yaml | 14 +++++--------- 3 files changed, 12 insertions(+), 24 deletions(-) diff --git a/openapi.containers.yaml b/openapi.containers.yaml index e441819..fac6818 100644 --- a/openapi.containers.yaml +++ b/openapi.containers.yaml @@ -510,7 +510,7 @@ components: databases: type: object additionalProperties: - $ref: '#/components/schemas/TypesContainerID' + $ref: '#/components/schemas/UuidUUID' description: type: string example: An SQL database. @@ -543,14 +543,8 @@ components: update: $ref: '#/components/schemas/TypesContainerUpdate' user_id: - type: array - items: - type: integer - format: int32 - maxItems: 16 - minItems: 16 - TypesContainerID: - type: object + type: string + format: uuid TypesContainerUpdate: type: object properties: @@ -798,6 +792,8 @@ components: port: type: string example: "3000" + UuidUUID: + type: object tags: - name: Container - name: Containers diff --git a/openapi.reverse-proxy.yaml b/openapi.reverse-proxy.yaml index 332a709..cb69de3 100644 --- a/openapi.reverse-proxy.yaml +++ b/openapi.reverse-proxy.yaml @@ -65,12 +65,8 @@ components: type: object properties: UUID: - type: array - items: - type: integer - format: int32 - maxItems: 16 - minItems: 16 + type: string + format: uuid Valid: type: boolean tags: diff --git a/openapi.sql.yaml b/openapi.sql.yaml index 2d52c62..7622e81 100644 --- a/openapi.sql.yaml +++ b/openapi.sql.yaml @@ -66,7 +66,7 @@ components: databases: type: object additionalProperties: - $ref: '#/components/schemas/TypesContainerID' + $ref: '#/components/schemas/UuidUUID' description: type: string example: An SQL database. @@ -99,14 +99,8 @@ components: update: $ref: '#/components/schemas/TypesContainerUpdate' user_id: - type: array - items: - type: integer - format: int32 - maxItems: 16 - minItems: 16 - TypesContainerID: - type: object + type: string + format: uuid TypesContainerUpdate: type: object properties: @@ -130,6 +124,8 @@ components: type: string username: type: string + UuidUUID: + type: object tags: - name: Container - name: DBMS