Skip to content

Commit

Permalink
feat: Add query parameters for location search in openapi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Aug 20, 2024
1 parent 916ed68 commit 221f079
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,43 @@ paths:
parameters:
- name: lat
in: query
required: true
schema:
type: number
example: 47.656422
- name: lon
in: query
required: true
schema:
type: number
example: -122.305641
- name: radius
in: query
required: false
description: The radius in meters to search within
schema:
type: number
example: 1000
- name: latSpan
in: query
required: false
description: An alternative to radius to set the search bounding box (optional)
schema:
type: number
example: 0.01
- name: lonSpan
in: query
required: false
description: An alternative to radius to set the search bounding box (optional)
schema:
type: number
example: 0.01
- name: query
in: query
required: false
description: A search query string to filter the results
schema:
type: string
responses:
'200':
description: Successful response
Expand Down Expand Up @@ -695,10 +724,12 @@ paths:
description: ID of the route
- name: includePolylines
in: query
required: false
schema:
type: boolean
description: Include polyline elements in the response (default true)
- name: time
required: false
in: query
schema:
type: string
Expand Down

0 comments on commit 221f079

Please sign in to comment.