Week #11 Added validation for query Parameters

karannaoh
Published: 08/13/2019

PR:- #630

This Week:-

- Added OpenAPI definitions to @search service for both post and get request.

- Added validation of query parameters, so that a query parameters of a request can also be validated against defined schema only by adding `validate=True` in the service definition.

Stuck Anywhere:-

The way we are validating query params is iterating over all the params and validating there schema, it's short of like implementing our own jsonschema package which is a bit redundant and in efficient. 

DJDT

Versions

Time

Settings from gsoc.settings

Headers

Request

SQL queries from 1 connection

Static files (2312 found, 3 used)

Templates (11 rendered)

Cache calls from 1 backend

Signals

Log messages