added api docs
This commit is contained in:
30
interface/models/recipient/recipient.yaml
Normal file
30
interface/models/recipient/recipient.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
components:
|
||||
schemas:
|
||||
Recipient:
|
||||
allOf:
|
||||
- $ref: ../permission_bound.yaml#/components/schemas/PermissionBound
|
||||
- $ref: ../common/describable.yaml#/components/schemas/Describable
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- email
|
||||
- status
|
||||
- type
|
||||
properties:
|
||||
email:
|
||||
type: string
|
||||
format: email
|
||||
avatarUrl:
|
||||
type: string
|
||||
nullable: true
|
||||
status:
|
||||
type: string
|
||||
enum:
|
||||
- ready
|
||||
- registered
|
||||
- notRegistered
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- internal
|
||||
- external
|
||||
Reference in New Issue
Block a user