e6ee07f41a
This commit adds a new package called python-flask-expects-json, which also to validate the JSON blurbs submitted to a Flask web application. A runtime test is added as well, making sure that the package minimally works with an example Flask application. The files added by this commit are associated both to Nicolas Carrier and myself in the DEVELOPERS file, as Nicolas is also interested in this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
10 lines
304 B
Plaintext
10 lines
304 B
Plaintext
config BR2_PACKAGE_PYTHON_FLASK_EXPECTS_JSON
|
|
bool "python-flask-expects-json"
|
|
select BR2_PACKAGE_PYTHON_FLASK # runtime
|
|
select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime
|
|
help
|
|
Decorator for REST endpoints in flask. Validate JSON request
|
|
data.
|
|
|
|
https://github.com/fischerfredl/flask-expects-json
|