Skip to content

Commit 7a04839

Browse files
fix: made secondary_text response optional (googlemaps#446)
1 parent e21fba4 commit 7a04839

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

specification/schemas/PlaceAutocompleteStructuredFormat.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ title: PlaceAutocompleteStructuredFormat
1717
required:
1818
- main_text
1919
- main_text_matched_substrings
20-
- secondary_text
2120
properties:
2221
main_text:
2322
description: Contains the main text of a prediction, usually the name of the place.
@@ -34,4 +33,4 @@ properties:
3433
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.
3534
type: array
3635
items:
37-
$ref: "./PlaceAutocompleteMatchedSubstring.yml"
36+
$ref: "./PlaceAutocompleteMatchedSubstring.yml"

0 commit comments

Comments
 (0)