return 400 as statuscode when invalid input params in get api
Issue reference: !132
Currently the get api for getSchemaInfoList returning 200(OK) as status code even if contains any unknown requestparams or typos as mentioned in the above issue.
- To fix this added a validation logic to allow only the defined requestparams(authority, source, entity, schema version major, schema version minor, schema version patch, status, scope, latestVersion, limit, offset). In case of any unknown requestparams or typos the code will return 400(Bad request).
Edited by VidyaDharani Lokam