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(specs): allow JSON array for aroundPrecision #1855

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jul 31, 2023

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

See sandbox

aroundPrecision can either be an integer or a JSON array.

Today this is supported in the JS and C# clients, but not in the others, since the API allows it we should also reflect it in the specs.

@shortcuts shortcuts self-assigned this Jul 31, 2023
@shortcuts shortcuts requested a review from a team as a code owner July 31, 2023 10:32
@shortcuts shortcuts requested review from damcou and aallam July 31, 2023 10:32
@netlify
Copy link

netlify bot commented Jul 31, 2023

Deploy Preview for api-clients-automation ready!

Name Link
🔨 Latest commit 9d47153
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/64d0d667c47d820008f1ad16
😎 Deploy Preview https://deploy-preview-1855--api-clients-automation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jul 31, 2023

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

x-categories:
- Geo-Search

aroundPrecisionFromValue:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kai687 I did not found occurrences of documentation for this specific type, is there a place where I could find some info? If not, would you mind suggesting a description for the from and value parameters?

@aallam
Copy link
Member

aallam commented Jul 31, 2023

Is one of the formats a legacy format ? if yes, maybe we don't have to support them all !

@shortcuts
Copy link
Member Author

Is one of the formats a legacy format ? if yes, maybe we don't have to support them all !

I tried on the API and it's still there so I belive it's a different use case

@shortcuts shortcuts merged commit 82d7dcf into main Aug 7, 2023
24 checks passed
@shortcuts shortcuts deleted the fix/search-aroundPrecision branch August 7, 2023 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants