-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.yaml
More file actions
50 lines (43 loc) · 1.14 KB
/
openapi.yaml
File metadata and controls
50 lines (43 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
openapi: 3.0.3
info:
title: MamMates API Contract
version: 0.0.1
description: API contract for MamMates backend development
servers:
- url: mammates.com
description: Development server
paths:
# auth endpoints
/auth/login:
$ref: "./paths/auth.yaml#/Login"
/auth/register/seller:
$ref: "./paths/auth.yaml#/SellerRegister"
# order endpoints
/orders/recent:
$ref: "./paths/order.yaml#/RecentOrder"
/orders:
$ref: "./paths/order.yaml#/Orders"
/orders/{id}:
$ref: "./paths/order.yaml#/SingleOrder"
# food endpoints
/foods:
$ref: "./paths/food.yaml#/Foods"
/foods/{id}:
$ref: "./paths/food.yaml#/SingleFood"
# store account endpoints
/accounts/store:
$ref: "./paths/store.yaml#/StoreDetail"
/accounts/seller:
$ref: "./paths/store.yaml#/SellerAccount"
# reset password endpoint
/password:
$ref: "./paths/reset_password.yaml#/ResetPassword"
# MamMates endpoint
/mam_mates:
$ref: "./paths/mam_mates.yaml#/MamMates"
# report endpoint
/reports:
$ref: "./paths/report.yaml#/Report"
# ml seller endpoint
# /predict:
# $ref: "./paths/predict.yaml#/Predict"