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 @@ -156,7 +156,7 @@ components:
type: array
flags:
allowReserved: true
description: Various flags about properties of the tour (multiple selection allowed).
description: Various flags about properties of the tour (multiple selection allowed). Only the values listed in the Flags schema are accepted, matched exactly (case-sensitive). Requests containing any other value are rejected with a 400 response.
examples:
oneFlag:
summary: Filter for private tours only.
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 or invalid parameters, e.g. a 'q' value that contains no letters or numbers or exceeds 150 characters.
description: Missing or invalid parameters, e.g. a 'q' value that contains no letters or numbers or exceeds 150 characters, or a 'flags[]' value that is not one of the supported flags.
500:
description: Server error

Expand Down
Loading