x-atlas-consortia / ubkg-api

A web service for the Unified Biomedical Knowlege Graph system
MIT License
1 stars 0 forks source link

Return a bad request when any of the query string parameters are invalid #40

Closed SamSedivy closed 1 year ago

SamSedivy commented 1 year ago

Replace default values with a bad request stating that the required parameters are invalid

AlanSimmons commented 1 year ago

@SamSedivy Can you add logic that returns a 400 error if the endpoints are missing required parameters?

SamSedivy commented 1 year ago

@AlanSimmons Yes, I can add the same logic to the other endpoints that have required parameters.