Skip to content

Commit

Permalink
fix: made secondary_text response optional (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
nora-soderlund authored Feb 21, 2023
1 parent e21fba4 commit 7a04839
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions specification/schemas/PlaceAutocompleteStructuredFormat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ title: PlaceAutocompleteStructuredFormat
required:
- main_text
- main_text_matched_substrings
- secondary_text
properties:
main_text:
description: Contains the main text of a prediction, usually the name of the place.
Expand All @@ -34,4 +33,4 @@ properties:
description: Contains an array with `offset` value and `length`. These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.
type: array
items:
$ref: "./PlaceAutocompleteMatchedSubstring.yml"
$ref: "./PlaceAutocompleteMatchedSubstring.yml"

0 comments on commit 7a04839

Please sign in to comment.