From 783b6aafcad6b7b344bfa1d1a4187c7eb005a493 Mon Sep 17 00:00:00 2001 From: Jan Stroppel Date: Tue, 10 Dec 2024 11:03:51 +0100 Subject: [PATCH] using public profile for search --- api/swagger.yaml | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/api/swagger.yaml b/api/swagger.yaml index 212c05d..17ef452 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -570,7 +570,7 @@ paths: schema: type: array items: - $ref: "#/components/schemas/dancer" + $ref: "#/components/schemas/public_profile" post: summary: Used to retrieve a list of dancers tags: @@ -752,31 +752,6 @@ components: - LEAD - BOTH - NA - dancer: - type: object - properties: - size: - type: integer - aboutMe: - type: string - gender: - $ref: "#/components/schemas/gender" - dancerName: - type: string - age: - type: integer - city: - type: string - country: - type: string - enum: - - GER - profileImageHash: - type: string - ableTo: - type: array - items: - $ref: "#/components/schemas/dance_profile" change_profile: type: object properties: @@ -820,9 +795,8 @@ components: $ref: "#/components/schemas/gender" dancerName: type: string - birthDate: + age: type: string - format: date ableTo: type: array items: