docs: menghilangkan field task_done selain endpoint /get, /my-projects, dan /mentor-projects
This commit is contained in:
@@ -125,7 +125,7 @@ const router = express.Router();
|
||||
* type: string
|
||||
* nullable: true
|
||||
* example: Senior Program Manager at Internify.
|
||||
* ProjectListItem:
|
||||
* ProjectBaseItem:
|
||||
* type: object
|
||||
* properties:
|
||||
* id:
|
||||
@@ -136,6 +136,7 @@ const router = express.Router();
|
||||
* example: internify-platform-dev
|
||||
* project_icon:
|
||||
* type: string
|
||||
* enum: [code, chart, cloud, mobile, gear, users, clipboard, speedometer, lightbulb, shield]
|
||||
* example: code
|
||||
* background_color:
|
||||
* type: string
|
||||
@@ -146,6 +147,10 @@ const router = express.Router();
|
||||
* description:
|
||||
* type: string
|
||||
* example: Upgrading the core Internify platform backend and web client.
|
||||
* certificate_template:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* example: /uploads/certificate-template.png
|
||||
* start_date:
|
||||
* type: string
|
||||
* format: date-time
|
||||
@@ -156,6 +161,7 @@ const router = express.Router();
|
||||
* example: 2026-10-15T00:00:00.000Z
|
||||
* status:
|
||||
* type: string
|
||||
* enum: [active, completed, archived]
|
||||
* example: active
|
||||
* admin:
|
||||
* $ref: '#/components/schemas/ProjectAdminSummary'
|
||||
@@ -165,10 +171,6 @@ const router = express.Router();
|
||||
* total_tasks:
|
||||
* type: integer
|
||||
* example: 3
|
||||
* task_done:
|
||||
* type: integer
|
||||
* example: 2
|
||||
* description: Number of completed tasks. For interns, this counts tasks submitted by the logged-in intern. For admin/mentor, this counts tasks submitted by all active project members.
|
||||
* created_at:
|
||||
* type: string
|
||||
* format: date-time
|
||||
@@ -177,6 +179,15 @@ const router = express.Router();
|
||||
* type: string
|
||||
* format: date-time
|
||||
* example: 2026-06-10T10:00:00.000Z
|
||||
* ProjectListItem:
|
||||
* allOf:
|
||||
* - $ref: '#/components/schemas/ProjectBaseItem'
|
||||
* - type: object
|
||||
* properties:
|
||||
* task_done:
|
||||
* type: integer
|
||||
* example: 2
|
||||
* description: Number of completed tasks. For interns, this counts tasks submitted by the logged-in intern. For admin/mentor, this counts tasks submitted by all active project members.
|
||||
* ProjectMemberUser:
|
||||
* type: object
|
||||
* properties:
|
||||
@@ -256,7 +267,7 @@ const router = express.Router();
|
||||
* example: 2026-06-10T10:00:00.000Z
|
||||
* ProjectDetail:
|
||||
* allOf:
|
||||
* - $ref: '#/components/schemas/ProjectListItem'
|
||||
* - $ref: '#/components/schemas/ProjectBaseItem'
|
||||
* - type: object
|
||||
* properties:
|
||||
* members:
|
||||
|
||||
Reference in New Issue
Block a user