electionguard-api-python icon indicating copy to clipboard operation
electionguard-api-python copied to clipboard

implement 400 excpetion on deserialization failure

Open gagandeepp opened this issue 3 years ago • 5 comments

Issue

Fixes https://github.com/microsoft/electionguard-api-python/issues/99

Description

Add raise exception clause with 400 status for the deserialisation failure

Testing

Hit Post Encrypt endpoint with incorrect request model

gagandeepp avatar Oct 04 '22 06:10 gagandeepp

@keithrfung please review

gagandeepp avatar Oct 04 '22 09:10 gagandeepp

@gagandeepp please fix linting error

lprichar avatar Oct 04 '22 15:10 lprichar

@lprichar can you please review this? If you are facing issue while reviewing please add HACKTOBERFEST-ACCEPTED label to the issue ,so that you can review this later

gagandeepp avatar Oct 05 '22 09:10 gagandeepp

@lprichar please review this

gagandeepp avatar Oct 07 '22 12:10 gagandeepp

@lprichar pleae review

gagandeepp avatar Oct 12 '22 20:10 gagandeepp