File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed
Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ paths:
561561 - Dancers
562562 parameters :
563563 - $ref : ' #/components/parameters/range'
564+ - $ref : ' #/components/parameters/gender'
564565 responses :
565566 ' 200 ' :
566567 description : retrieves a potentially empty array
@@ -569,7 +570,7 @@ paths:
569570 schema :
570571 type : array
571572 items :
572- $ref : " #/components/schemas/recommendable "
573+ $ref : " #/components/schemas/dancer "
573574 post :
574575 summary : Used to retrieve a list of dancers
575576 tags :
@@ -648,6 +649,12 @@ components:
648649 description : Id of the last message already received. If set, the endpoint only returns newer messages
649650 schema :
650651 type : string
652+ gender :
653+ name : gender
654+ in : query
655+ description : preferred gender of the dancers
656+ schema :
657+ type : string
651658 range :
652659 name : range
653660 in : query
@@ -745,6 +752,31 @@ components:
745752 - LEAD
746753 - BOTH
747754 - NA
755+ dancer :
756+ type : object
757+ properties :
758+ size :
759+ type : integer
760+ aboutMe :
761+ type : string
762+ gender :
763+ $ref : " #/components/schemas/gender"
764+ dancerName :
765+ type : string
766+ age :
767+ type : integer
768+ city :
769+ type : string
770+ country :
771+ type : string
772+ enum :
773+ - GER
774+ profileImageHash :
775+ type : string
776+ ableTo :
777+ type : array
778+ items :
779+ $ref : " #/components/schemas/dance_profile"
748780 change_profile :
749781 type : object
750782 properties :
@@ -1023,4 +1055,4 @@ components:
10231055 type : string
10241056 required :
10251057 - code
1026- - message
1058+ - message
You can’t perform that action at this time.
0 commit comments