Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: made secondary_text response optional #446

Merged
merged 1 commit into from
Feb 21, 2023
Merged
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
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"