added api docs
This commit is contained in:
22
interface/models/payment_method/payment_method.yaml
Normal file
22
interface/models/payment_method/payment_method.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
components:
|
||||
schemas:
|
||||
PaymentMethod:
|
||||
allOf:
|
||||
- $ref: ../permission_bound.yaml#/components/schemas/PermissionBound
|
||||
- $ref: ../common/describable.yaml#/components/schemas/Describable
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- recipientRef
|
||||
- type
|
||||
- isMain
|
||||
properties:
|
||||
recipientRef:
|
||||
$ref: ../objectid.yaml#/components/schemas/ObjectId
|
||||
type:
|
||||
$ref: ../../external/payment_method_type.yaml#/components/schemas/PaymentMethodType
|
||||
data:
|
||||
type: object
|
||||
additionalProperties: true
|
||||
isMain:
|
||||
type: boolean
|
||||
Reference in New Issue
Block a user