Skip to content

Commit

Permalink
added search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jans510 committed Dec 7, 2024
1 parent 1cda31d commit 570f6eb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,22 @@ paths:
type: array
items:
$ref: "#/components/schemas/recommendable"
/search:
get:
summary: retrieves all dancers in a predefined range
tags:
- Recommendations
parameters:
- $ref: '#/components/parameters/range'
responses:
'200':
description: retrieves a potentially empty array
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/recommendable"
/location/zipCode/{country}/{code}:
get:
summary: resolve code to location
Expand Down Expand Up @@ -631,6 +647,12 @@ components:
description: Id of the last message already received. If set, the endpoint only returns newer messages
schema:
type: string
range:
name: range
in: query
description: Range in which the search for dancers should be done
schema:
type: string
schemas:
contactMail:
type: object
Expand Down

0 comments on commit 570f6eb

Please sign in to comment.