Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/components/commons/query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ components:
$ref: "#/components/schemas/PriceField"
type: array
q:
description: "Mutually exclusive with 'coordinates' parameter! Query string, can be location name or IATA code. For IATA the query parameter looks like this: 'q=iata:jfk'"
description: "Mutually exclusive with 'coordinates' parameter! Query string, can be location name or IATA code. For IATA the query parameter looks like this: 'q=iata:jfk'. Must contain at least one letter or number and must not exceed 150 characters; special characters are ignored. Queries not meeting these rules are rejected with a 400 response."
examples:
search_by_IATA:
summary: Search by IATA airport codes.
Expand Down
2 changes: 1 addition & 1 deletion spec/paths/tours.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ paths:
items:
$ref: "../components/schema/tour.yaml#/components/schemas/Tour"
400:
description: Missing Parameters
description: Missing or invalid parameters, e.g. a 'q' value that contains no letters or numbers or exceeds 150 characters.
500:
description: Server error

Expand Down
Loading