added api docs
This commit is contained in:
13
interface/models/common/describable.yaml
Normal file
13
interface/models/common/describable.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
components:
|
||||
schemas:
|
||||
Describable:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- name
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
nullable: true
|
||||
16
interface/models/common/money.yaml
Normal file
16
interface/models/common/money.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
components:
|
||||
schemas:
|
||||
Money:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- amount
|
||||
- currency
|
||||
properties:
|
||||
amount:
|
||||
type: string
|
||||
description: Decimal string amount.
|
||||
example: '125.50'
|
||||
currency:
|
||||
type: string
|
||||
example: USD
|
||||
8
interface/models/common/pagination.yaml
Normal file
8
interface/models/common/pagination.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
components:
|
||||
schemas:
|
||||
CursorPageResponse:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
properties:
|
||||
next_cursor:
|
||||
type: string
|
||||
Reference in New Issue
Block a user