docs: fix path

This commit is contained in:
ericprd 2025-02-24 20:30:10 +08:00
parent 037acbe128
commit 3466a4b4c5

View File

@ -5,7 +5,7 @@ info:
description: API for handling staff and user login, registration, and subscription plan creation.
paths:
/api/staff/login:
/staff/login:
post:
summary: Login for staff
requestBody:
@ -29,7 +29,7 @@ paths:
"400":
description: Bad request
/api/staff/register:
/staff/register:
post:
summary: Register a new staff member
requestBody:
@ -55,7 +55,7 @@ paths:
"409":
description: Conflict (email already registered)
/api/user/login:
/user/login:
post:
summary: Login for user
requestBody:
@ -79,7 +79,7 @@ paths:
"400":
description: Bad request
/api/user/register:
/user/register:
post:
summary: Register a new user
requestBody: