From 2d3e14098c0fd07ed77987ef221ebc239d2a222f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 26 Nov 2020 01:40:58 +0100 Subject: [PATCH] all ids are uuid --- backend.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/backend.yml b/backend.yml index ff7433e..eb6649e 100644 --- a/backend.yml +++ b/backend.yml @@ -45,8 +45,6 @@ paths: application/json: schema: $ref: '#/components/schemas/ApiResponse' - - /api/auth/logoff: delete: tags: - backend @@ -109,7 +107,8 @@ paths: description: ID of a list required: true schema: - type: integer + type: string + format: uuid responses: 200: description: List data @@ -130,13 +129,15 @@ paths: description: ID of a list required: true schema: - type: integer + type: string + format: uuid - name: trackid in: path description: ID of a track required: true schema: - type: integer + type: string + format: uuid responses: 200: description: Track data @@ -158,7 +159,8 @@ components: type: object properties: id: - type: integer + type: string + format: uuid tracklist: type: array items: @@ -174,7 +176,8 @@ components: type: object properties: id: - type: integer + type: string + format: uuid title: type: string artist: