Create a GET /dishes endpoint which optionally takes in a search_term query parameter and returns dishes which match the search term. Refer to the way GET /restaurants is implemented. This will be very similar to that. If no search term is provided, return all dishes.
Please remember to update the openapi.yaml and openapi.json files to document the above changes!
Create a GET /dishes endpoint which optionally takes in a
search_term
query parameter and returns dishes which match the search term. Refer to the way GET /restaurants is implemented. This will be very similar to that. If no search term is provided, return all dishes.Please remember to update the openapi.yaml and openapi.json files to document the above changes!