Commit 940d2bf
committed
Move products to package; fix root endpoint key
Refactor products module into a package (app/api/products/products.py) and add app/api/products/__init__.py to re-export the router. Update app/api/routes.py to import the router from the new location. Also fix a typo in app/api/root.py: use the consistent "name" key for the docs endpoint in the root endpoints list.1 parent a0fe6f7 commit 940d2bf
4 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments