fix: aadded changes, doc is ssomewhat coherent still need to change some endpoint names in controller and some minor changes
This commit is contained in:
@ -27,39 +27,6 @@ paths:
|
||||
description: Bad Request - Invalid input (e.g., missing name).
|
||||
"401":
|
||||
description: Unauthorized.
|
||||
"403":
|
||||
description: Forbidden - User does not have entrepreneur privileges.
|
||||
content:
|
||||
application/json: { schema: { $ref: "./main.yaml#/components/schemas/ApiError" } }
|
||||
"500":
|
||||
description: Internal Server Error.
|
||||
content:
|
||||
application/json: { schema: { $ref: "./main.yaml#/components/schemas/ApiError" } }
|
||||
|
||||
/entrepreneur/projects/request-join/{projectId}:
|
||||
post:
|
||||
operationId: requestToJoinProject
|
||||
summary: Request to join an existing project
|
||||
description: Submits a request for the authenticated entrepreneur to join the project specified by projectId. This requires approval from a project admin.
|
||||
tags:
|
||||
- Entrepreneurs API
|
||||
security:
|
||||
- MyINPulse: [MyINPulse-entrepreneur]
|
||||
parameters:
|
||||
- in: path
|
||||
name: projectId
|
||||
required: true
|
||||
schema:
|
||||
type: integer
|
||||
description: The ID of the project to request joining.
|
||||
example: 15
|
||||
responses: # Moved responses block to correct level
|
||||
"202":
|
||||
description: Accepted - Join request submitted and pending approval.
|
||||
"400":
|
||||
description: Bad Request - Invalid project ID format or already member/request pending.
|
||||
"401":
|
||||
description: Unauthorized.
|
||||
|
||||
/entrepreneur/sectionCells: # Base path
|
||||
post:
|
||||
|
Reference in New Issue
Block a user