We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GET /meals/get?[id=<Integer>&day=<Integer>]
/meals/get?[id=<Integer>&day=<Integer>]
id
day
호출 예시
Response:
{ "data": [ { "day": "월요일", "date": "2019-12-02", "lunch": { "a": { "diet": "사골순대국\\n 쌀밥\\n미트볼조림 ...", "calorie": "string" }, "b": { "diet": "돈까스\\n 함박스테이크", "calorie": "string" }, "c": { "diet": "라면\\n 공기밥", "calorie": "string" } }, "dinner": { "a": { "diet": "string", "calorie": "string" } } } ] }
단위테스트 코드 같이 작성할것
The text was updated successfully, but these errors were encountered:
GetMealData 핸들러 완성 #3
5a982fc
1. 잘못된 함수 인수에 대한 에러코드 추가 2. getMealDateWithWeekNum을 getMealDataWithWeekday와 getMealWithTime으로 분리 3. GetMealData 핸들러 완성 branch: feature/meal
GetMealData 핸들러 완성 Close #3
f61934b
tpdns90321
No branches or pull requests
GET
/meals/get?[id=<Integer>&day=<Integer>]
id
: 학식 게시물 ID (선택사항)day
: 조회할 요일(월-토 -> 0-5) (선택사항)호출 예시
Response:
id
파라메터가 있다면, 해당 id 값에 해당하는 식단표 조회하여 반환day
(요일) 파라메터가 있다면, 해당 요일에 해당하는 식단만 배열에 넣어 반환단위테스트 코드 같이 작성할것
The text was updated successfully, but these errors were encountered: