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

Use swagger and openapi files to automatically check query field types #15

Open
4 tasks
DDorch opened this issue Aug 30, 2022 · 0 comments
Open
4 tasks
Milestone

Comments

@DDorch
Copy link
Collaborator

DDorch commented Aug 30, 2022

After #14, it is also possible to check the type of the fields (numeric, string) and allow the possibility to use vectors in queries (for example: departement = c(30, 34) and continue to allow the use of string values separated by commas (departement ="30, 34") by parsing the string.

TODO:

  • read field type information in swagger/openapi files
  • parse array string with comma separator to convert them into string or numeric vectors
  • provide error message in case of type mismatch
  • convert back array to strings with comma separator for the query URL
@DDorch DDorch added this to the v0.4.0 milestone Sep 11, 2022
@DDorch DDorch modified the milestones: v0.4.0, v0.5.0 Mar 15, 2023
@DDorch DDorch modified the milestones: v0.5.0, v0.6.0 Nov 12, 2024
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

No branches or pull requests

1 participant