-
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(invitation): delete profil sent invitation
- Loading branch information
1 parent
d00d30a
commit fe2eeaa
Showing
7 changed files
with
157 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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,46 @@ | ||
import { HandlerDefinition } from '@typing'; | ||
|
||
const schema: HandlerDefinition = { | ||
path: '/profil/invitations/{invitationId}', | ||
delete: { | ||
operationId: 'deleteProfilInvitationById', | ||
tags: ['profil'], | ||
security: [{ BearerAuth: [] }], | ||
description: 'Delete a musician to group invitation by its id', | ||
parameters: [ | ||
{ | ||
in: 'path', | ||
description: 'the invitation id', | ||
name: 'invitationId', | ||
schema: { | ||
type: 'string', | ||
}, | ||
required: true, | ||
}, | ||
], | ||
responses: { | ||
204: { | ||
description: 'The invitations hbas been deleted', | ||
content: { | ||
'application/json': { | ||
schema: { | ||
type: 'string', | ||
}, | ||
}, | ||
}, | ||
}, | ||
404: { | ||
description: 'the invitation does not exist', | ||
content: { | ||
'application/json': { | ||
schema: { | ||
$ref: '#/components/schemas/httpError', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}; | ||
|
||
export default schema; |
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
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
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