Closed GDeane closed 3 months ago
This PR includes the stub methods/endpoints to implement for the recommender API.
Additionally, it includes some definitions of BaseModel classes which help to clearly define the allowed inputs and (successful response) outputs.
Closes #115
Run 'docker-compose up --build' in the root of the martletplace repo.
Enter the following into your browser: http://localhost:8222/api/recommendations?authorization=spaghetti&page=1&limit=20
Enter the following into your browser: http://localhost:8222/docs
For each endpoint shown, click 'try it out', fill out the parameter fields, and execute. Check the outputs.
Description
This PR includes the stub methods/endpoints to implement for the recommender API.
Additionally, it includes some definitions of BaseModel classes which help to clearly define the allowed inputs and (successful response) outputs.
Closes #115
How to Test
Run 'docker-compose up --build' in the root of the martletplace repo.
Enter the following into your browser: http://localhost:8222/api/recommendations?authorization=spaghetti&page=1&limit=20
Enter the following into your browser: http://localhost:8222/docs
For each endpoint shown, click 'try it out', fill out the parameter fields, and execute. Check the outputs.
Checklist