biothings.api
biothings.api copied to clipboard
New features for web parameter parsing module
- Integrate OpenAPI spec generation with https://github.com/zcqian/biothings.api/blob/openapi/biothings/web/openapi/contexts.py
- 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: https://github.com/biothings/mychem.info/issues/88
- differentiate argument source, like path argument, body argument, query argument. It will be useful in: https://github.com/biothings/pending.api/issues/20
additional possible features:
- warn unexpected parameters
- autosuggest similar names for bad parameters input