docs: update endpoints to use file-routing approach (#5397)

- Move the original guides for creating endpoints and middlewares to sub-sections in the Endpoints category.
- Replace existing guides for endpoints and middlewares with the new approach.
- Update all endpoints-related snippets across docs to use this new approach.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-10-19 15:56:26 +00:00
1 parent b38f73726d
commit c28935b4e8
170 files changed
+3658 -3344

No files matched your search

@@ -104,7 +104,7 @@ yarn test
### Run API Integration Tests
API integration tests are used to test out Medusa’s core endpoints.
API integration tests are used to test out Medusa’s core API Routes.
To run the API integration tests, run the following command in the root directory of the repository: