-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: documenting endpoint to delete speakers and companies #298
- Loading branch information
1 parent
85c7eba
commit 25becbf
Showing
4 changed files
with
115 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
54 changes: 54 additions & 0 deletions
54
backend/swagger/companies-id-participation-thread-threadID.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"delete": { | ||
"tags": [ | ||
"companies", | ||
"threads" | ||
], | ||
"summary": "Deletes thread from a company participation", | ||
"operationId": "deleteCompanyThread", | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"Bearer": [] | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"in": "path", | ||
"name": "id", | ||
"description": "ID of the company", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"in": "path", | ||
"name": "threadID", | ||
"description": "ID of the thread", | ||
"required": true, | ||
"type": "string" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Updated company", | ||
"schema": { | ||
"$ref": "./models/company.json" | ||
} | ||
}, | ||
"400": { | ||
"description": "Invalid payload, or invalid credentials" | ||
}, | ||
"404": { | ||
"description": "Meeting not found" | ||
}, | ||
"401": { | ||
"description": "Unauthorized" | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
backend/swagger/speakers-id-participation-thread-threadID.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"delete": { | ||
"tags": [ | ||
"speakers", | ||
"threads" | ||
], | ||
"summary": "Deletes thread from a speaker participation", | ||
"operationId": "deleteSpeakerThread", | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"Bearer": [] | ||
} | ||
], | ||
"parameters": [ | ||
{ | ||
"in": "path", | ||
"name": "id", | ||
"description": "ID of the speaker", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"in": "path", | ||
"name": "threadID", | ||
"description": "ID of the thread", | ||
"required": true, | ||
"type": "string" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Updated speaker", | ||
"schema": { | ||
"$ref": "./models/speaker.json" | ||
} | ||
}, | ||
"400": { | ||
"description": "Invalid payload, or invalid credentials" | ||
}, | ||
"404": { | ||
"description": "Meeting not found" | ||
}, | ||
"401": { | ||
"description": "Unauthorized" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters