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

New features for web parameter parsing module #105

Open
namespacestd0 opened this issue Jan 4, 2021 · 1 comment
Open

New features for web parameter parsing module #105

namespacestd0 opened this issue Jan 4, 2021 · 1 comment

Comments

@namespacestd0
Copy link
Contributor

  1. Integrate OpenAPI spec generation with https://github.com/zcqian/biothings.api/blob/openapi/biothings/web/openapi/contexts.py
  2. Support forgiving argument processing, for example, for a number limited to 1000, if it's larger than 1000, use 1000 instead of returning an error: Status code 400 (bad request) if more than 1000 IDs are posted to the chemical annotation service mychem.info#88
  3. differentiate argument source, like path argument, body argument, query argument. It will be useful in: Handler for BioThings API providing graph type data pending.api#20
@namespacestd0
Copy link
Contributor Author

additional possible features:

  1. warn unexpected parameters
  2. autosuggest similar names for bad parameters input

newgene added a commit that referenced this issue Apr 10, 2023
Enhancement autohub: allow easily customize validation logic
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