Commit ad28b50e authored by 余海军's avatar 余海军

add

parent 2e0c1c76
......@@ -12,7 +12,7 @@
"properties": {
"id": {
"type": "String",
"required": true,
"required": false,
"length": 36,
"precision": null,
"scale": null,
......@@ -23,12 +23,11 @@
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
},
"isArray": false
}
},
"name": {
"type": "String",
"required": true,
"required": false,
"length": 65535,
"precision": null,
"scale": null,
......
......@@ -5070,12 +5070,12 @@ paths:
type: number
format: double
deprecated: false
/Merchants:
/Orders:
post:
tags:
- Merchant
- Order
summary: Create a new instance of the model and persist it into the data source.
operationId: Merchant.create
operationId: Order.create
parameters:
- name: data
in: body
......@@ -5083,20 +5083,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
patch:
tags:
- Merchant
- Order
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Merchant.patchOrCreate
operationId: Order.patchOrCreate
parameters:
- name: data
in: body
......@@ -5104,20 +5104,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
put:
tags:
- Merchant
- Order
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Merchant.replaceOrCreate__put_Merchants
operationId: Order.replaceOrCreate__put_Orders
parameters:
- name: data
in: body
......@@ -5125,18 +5125,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
get:
tags:
- Merchant
- Order
summary: Find all instances of the model matched by filter from the data source.
operationId: Merchant.find
operationId: Order.find
parameters:
- name: filter
in: query
......@@ -5155,16 +5155,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
/Merchants/replaceOrCreate:
/Orders/replaceOrCreate:
post:
tags:
- Merchant
- Order
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Merchant.replaceOrCreate__post_Merchants_replaceOrCreate
operationId: Order.replaceOrCreate__post_Orders_replaceOrCreate
parameters:
- name: data
in: body
......@@ -5172,21 +5172,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
/Merchants/upsertWithWhere:
/Orders/upsertWithWhere:
post:
tags:
- Merchant
- Order
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Merchant.upsertWithWhere
operationId: Order.upsertWithWhere
parameters:
- name: where
in: query
......@@ -5200,19 +5200,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
'/Merchants/{id}/exists':
'/Orders/{id}/exists':
get:
tags:
- Merchant
- Order
summary: Check whether a model instance exists in the data source.
operationId: 'Merchant.exists__get_Merchants_{id}_exists'
operationId: 'Order.exists__get_Orders_{id}_exists'
parameters:
- name: id
in: path
......@@ -5229,12 +5229,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Merchants/{id}':
'/Orders/{id}':
head:
tags:
- Merchant
- Order
summary: Check whether a model instance exists in the data source.
operationId: 'Merchant.exists__head_Merchants_{id}'
operationId: 'Order.exists__head_Orders_{id}'
parameters:
- name: id
in: path
......@@ -5253,9 +5253,9 @@ paths:
deprecated: false
get:
tags:
- Merchant
- Order
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Merchant.findById
operationId: Order.findById
parameters:
- name: id
in: path
......@@ -5275,15 +5275,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
put:
tags:
- Merchant
- Order
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Merchant.replaceById__put_Merchants_{id}'
operationId: 'Order.replaceById__put_Orders_{id}'
parameters:
- name: id
in: path
......@@ -5297,18 +5297,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
delete:
tags:
- Merchant
- Order
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Merchant.deleteById
operationId: Order.deleteById
parameters:
- name: id
in: path
......@@ -5324,15 +5324,15 @@ paths:
deprecated: false
patch:
tags:
- Merchant
- Order
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Merchant.prototype.patchAttributes
operationId: Order.prototype.patchAttributes
parameters:
- name: id
in: path
description: Merchant id
description: Order id
required: true
type: string
format: JSON
......@@ -5342,21 +5342,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
'/Merchants/{id}/replace':
'/Orders/{id}/replace':
post:
tags:
- Merchant
- Order
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Merchant.replaceById__post_Merchants_{id}_replace'
operationId: 'Order.replaceById__post_Orders_{id}_replace'
parameters:
- name: id
in: path
......@@ -5370,19 +5370,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
/Merchants/findOne:
/Orders/findOne:
get:
tags:
- Merchant
- Order
summary: Find first instance of the model matched by filter from the data source.
operationId: Merchant.findOne
operationId: Order.findOne
parameters:
- name: filter
in: query
......@@ -5399,14 +5399,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
deprecated: false
/Merchants/update:
/Orders/update:
post:
tags:
- Merchant
- Order
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Merchant.updateAll
operationId: Order.updateAll
parameters:
- name: where
in: query
......@@ -5420,7 +5420,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Merchant'
$ref: '#/definitions/Order'
responses:
'200':
description: Request was successful
......@@ -5433,12 +5433,12 @@ paths:
type: number
format: double
deprecated: false
/Merchants/count:
/Orders/count:
get:
tags:
- Merchant
- Order
summary: Count instances of the model matched by where from the data source.
operationId: Merchant.count
operationId: Order.count
parameters:
- name: where
in: query
......@@ -5456,12 +5456,12 @@ paths:
type: number
format: double
deprecated: false
/Orders:
/Revenues:
post:
tags:
- Order
- Revenue
summary: Create a new instance of the model and persist it into the data source.
operationId: Order.create
operationId: Revenue.create
parameters:
- name: data
in: body
......@@ -5469,20 +5469,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
patch:
tags:
- Order
- Revenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Order.patchOrCreate
operationId: Revenue.patchOrCreate
parameters:
- name: data
in: body
......@@ -5490,20 +5490,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
put:
tags:
- Order
- Revenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Order.replaceOrCreate__put_Orders
operationId: Revenue.replaceOrCreate__put_Revenues
parameters:
- name: data
in: body
......@@ -5511,18 +5511,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
get:
tags:
- Order
- Revenue
summary: Find all instances of the model matched by filter from the data source.
operationId: Order.find
operationId: Revenue.find
parameters:
- name: filter
in: query
......@@ -5541,16 +5541,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
/Orders/replaceOrCreate:
/Revenues/replaceOrCreate:
post:
tags:
- Order
- Revenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Order.replaceOrCreate__post_Orders_replaceOrCreate
operationId: Revenue.replaceOrCreate__post_Revenues_replaceOrCreate
parameters:
- name: data
in: body
......@@ -5558,21 +5558,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
/Orders/upsertWithWhere:
/Revenues/upsertWithWhere:
post:
tags:
- Order
- Revenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Order.upsertWithWhere
operationId: Revenue.upsertWithWhere
parameters:
- name: where
in: query
......@@ -5586,19 +5586,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
'/Orders/{id}/exists':
'/Revenues/{id}/exists':
get:
tags:
- Order
- Revenue
summary: Check whether a model instance exists in the data source.
operationId: 'Order.exists__get_Orders_{id}_exists'
operationId: 'Revenue.exists__get_Revenues_{id}_exists'
parameters:
- name: id
in: path
......@@ -5615,12 +5615,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Orders/{id}':
'/Revenues/{id}':
head:
tags:
- Order
- Revenue
summary: Check whether a model instance exists in the data source.
operationId: 'Order.exists__head_Orders_{id}'
operationId: 'Revenue.exists__head_Revenues_{id}'
parameters:
- name: id
in: path
......@@ -5639,9 +5639,9 @@ paths:
deprecated: false
get:
tags:
- Order
- Revenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Order.findById
operationId: Revenue.findById
parameters:
- name: id
in: path
......@@ -5661,15 +5661,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
put:
tags:
- Order
- Revenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Order.replaceById__put_Orders_{id}'
operationId: 'Revenue.replaceById__put_Revenues_{id}'
parameters:
- name: id
in: path
......@@ -5683,18 +5683,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
delete:
tags:
- Order
- Revenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Order.deleteById
operationId: Revenue.deleteById
parameters:
- name: id
in: path
......@@ -5710,15 +5710,15 @@ paths:
deprecated: false
patch:
tags:
- Order
- Revenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Order.prototype.patchAttributes
operationId: Revenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: Order id
description: Revenue id
required: true
type: string
format: JSON
......@@ -5728,21 +5728,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
'/Orders/{id}/replace':
'/Revenues/{id}/replace':
post:
tags:
- Order
- Revenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Order.replaceById__post_Orders_{id}_replace'
operationId: 'Revenue.replaceById__post_Revenues_{id}_replace'
parameters:
- name: id
in: path
......@@ -5756,19 +5756,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
/Orders/findOne:
/Revenues/findOne:
get:
tags:
- Order
- Revenue
summary: Find first instance of the model matched by filter from the data source.
operationId: Order.findOne
operationId: Revenue.findOne
parameters:
- name: filter
in: query
......@@ -5785,14 +5785,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
deprecated: false
/Orders/update:
/Revenues/update:
post:
tags:
- Order
- Revenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Order.updateAll
operationId: Revenue.updateAll
parameters:
- name: where
in: query
......@@ -5806,7 +5806,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Order'
$ref: '#/definitions/Revenue'
responses:
'200':
description: Request was successful
......@@ -5819,12 +5819,12 @@ paths:
type: number
format: double
deprecated: false
/Orders/count:
/Revenues/count:
get:
tags:
- Order
- Revenue
summary: Count instances of the model matched by where from the data source.
operationId: Order.count
operationId: Revenue.count
parameters:
- name: where
in: query
......@@ -5842,12 +5842,12 @@ paths:
type: number
format: double
deprecated: false
/Revenues:
/Eachrevenues:
post:
tags:
- Revenue
- Eachrevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: Revenue.create
operationId: Eachrevenue.create
parameters:
- name: data
in: body
......@@ -5855,20 +5855,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
patch:
tags:
- Revenue
- Eachrevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Revenue.patchOrCreate
operationId: Eachrevenue.patchOrCreate
parameters:
- name: data
in: body
......@@ -5876,20 +5876,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
put:
tags:
- Revenue
- Eachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Revenue.replaceOrCreate__put_Revenues
operationId: Eachrevenue.replaceOrCreate__put_Eachrevenues
parameters:
- name: data
in: body
......@@ -5897,18 +5897,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
get:
tags:
- Revenue
- Eachrevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: Revenue.find
operationId: Eachrevenue.find
parameters:
- name: filter
in: query
......@@ -5927,16 +5927,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
/Revenues/replaceOrCreate:
/Eachrevenues/replaceOrCreate:
post:
tags:
- Revenue
- Eachrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Revenue.replaceOrCreate__post_Revenues_replaceOrCreate
operationId: Eachrevenue.replaceOrCreate__post_Eachrevenues_replaceOrCreate
parameters:
- name: data
in: body
......@@ -5944,21 +5944,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
/Revenues/upsertWithWhere:
/Eachrevenues/upsertWithWhere:
post:
tags:
- Revenue
- Eachrevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Revenue.upsertWithWhere
operationId: Eachrevenue.upsertWithWhere
parameters:
- name: where
in: query
......@@ -5972,19 +5972,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
'/Revenues/{id}/exists':
'/Eachrevenues/{id}/exists':
get:
tags:
- Revenue
- Eachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'Revenue.exists__get_Revenues_{id}_exists'
operationId: 'Eachrevenue.exists__get_Eachrevenues_{id}_exists'
parameters:
- name: id
in: path
......@@ -6001,12 +6001,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Revenues/{id}':
'/Eachrevenues/{id}':
head:
tags:
- Revenue
- Eachrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'Revenue.exists__head_Revenues_{id}'
operationId: 'Eachrevenue.exists__head_Eachrevenues_{id}'
parameters:
- name: id
in: path
......@@ -6025,9 +6025,9 @@ paths:
deprecated: false
get:
tags:
- Revenue
- Eachrevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Revenue.findById
operationId: Eachrevenue.findById
parameters:
- name: id
in: path
......@@ -6047,15 +6047,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
put:
tags:
- Revenue
- Eachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Revenue.replaceById__put_Revenues_{id}'
operationId: 'Eachrevenue.replaceById__put_Eachrevenues_{id}'
parameters:
- name: id
in: path
......@@ -6069,18 +6069,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
delete:
tags:
- Revenue
- Eachrevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Revenue.deleteById
operationId: Eachrevenue.deleteById
parameters:
- name: id
in: path
......@@ -6096,15 +6096,15 @@ paths:
deprecated: false
patch:
tags:
- Revenue
- Eachrevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Revenue.prototype.patchAttributes
operationId: Eachrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: Revenue id
description: Eachrevenue id
required: true
type: string
format: JSON
......@@ -6114,21 +6114,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
'/Revenues/{id}/replace':
'/Eachrevenues/{id}/replace':
post:
tags:
- Revenue
- Eachrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Revenue.replaceById__post_Revenues_{id}_replace'
operationId: 'Eachrevenue.replaceById__post_Eachrevenues_{id}_replace'
parameters:
- name: id
in: path
......@@ -6142,19 +6142,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
/Revenues/findOne:
/Eachrevenues/findOne:
get:
tags:
- Revenue
- Eachrevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: Revenue.findOne
operationId: Eachrevenue.findOne
parameters:
- name: filter
in: query
......@@ -6171,14 +6171,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
deprecated: false
/Revenues/update:
/Eachrevenues/update:
post:
tags:
- Revenue
- Eachrevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Revenue.updateAll
operationId: Eachrevenue.updateAll
parameters:
- name: where
in: query
......@@ -6192,7 +6192,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Revenue'
$ref: '#/definitions/Eachrevenue'
responses:
'200':
description: Request was successful
......@@ -6205,12 +6205,12 @@ paths:
type: number
format: double
deprecated: false
/Revenues/count:
/Eachrevenues/count:
get:
tags:
- Revenue
- Eachrevenue
summary: Count instances of the model matched by where from the data source.
operationId: Revenue.count
operationId: Eachrevenue.count
parameters:
- name: where
in: query
......@@ -6228,12 +6228,12 @@ paths:
type: number
format: double
deprecated: false
/Eachrevenues:
/Teachers:
post:
tags:
- Eachrevenue
- Teachers
summary: Create a new instance of the model and persist it into the data source.
operationId: Eachrevenue.create
operationId: Teachers.create
parameters:
- name: data
in: body
......@@ -6241,20 +6241,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
patch:
tags:
- Eachrevenue
- Teachers
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Eachrevenue.patchOrCreate
operationId: Teachers.patchOrCreate
parameters:
- name: data
in: body
......@@ -6262,20 +6262,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
put:
tags:
- Eachrevenue
- Teachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Eachrevenue.replaceOrCreate__put_Eachrevenues
operationId: Teachers.replaceOrCreate__put_Teachers
parameters:
- name: data
in: body
......@@ -6283,18 +6283,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
get:
tags:
- Eachrevenue
- Teachers
summary: Find all instances of the model matched by filter from the data source.
operationId: Eachrevenue.find
operationId: Teachers.find
parameters:
- name: filter
in: query
......@@ -6313,16 +6313,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
/Eachrevenues/replaceOrCreate:
/Teachers/replaceOrCreate:
post:
tags:
- Eachrevenue
- Teachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Eachrevenue.replaceOrCreate__post_Eachrevenues_replaceOrCreate
operationId: Teachers.replaceOrCreate__post_Teachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -6330,21 +6330,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
/Eachrevenues/upsertWithWhere:
/Teachers/upsertWithWhere:
post:
tags:
- Eachrevenue
- Teachers
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Eachrevenue.upsertWithWhere
operationId: Teachers.upsertWithWhere
parameters:
- name: where
in: query
......@@ -6358,19 +6358,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
'/Eachrevenues/{id}/exists':
'/Teachers/{id}/exists':
get:
tags:
- Eachrevenue
- Teachers
summary: Check whether a model instance exists in the data source.
operationId: 'Eachrevenue.exists__get_Eachrevenues_{id}_exists'
operationId: 'Teachers.exists__get_Teachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -6387,12 +6387,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Eachrevenues/{id}':
'/Teachers/{id}':
head:
tags:
- Eachrevenue
- Teachers
summary: Check whether a model instance exists in the data source.
operationId: 'Eachrevenue.exists__head_Eachrevenues_{id}'
operationId: 'Teachers.exists__head_Teachers_{id}'
parameters:
- name: id
in: path
......@@ -6411,9 +6411,9 @@ paths:
deprecated: false
get:
tags:
- Eachrevenue
- Teachers
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Eachrevenue.findById
operationId: Teachers.findById
parameters:
- name: id
in: path
......@@ -6433,15 +6433,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
put:
tags:
- Eachrevenue
- Teachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Eachrevenue.replaceById__put_Eachrevenues_{id}'
operationId: 'Teachers.replaceById__put_Teachers_{id}'
parameters:
- name: id
in: path
......@@ -6455,18 +6455,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
delete:
tags:
- Eachrevenue
- Teachers
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Eachrevenue.deleteById
operationId: Teachers.deleteById
parameters:
- name: id
in: path
......@@ -6482,15 +6482,15 @@ paths:
deprecated: false
patch:
tags:
- Eachrevenue
- Teachers
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Eachrevenue.prototype.patchAttributes
operationId: Teachers.prototype.patchAttributes
parameters:
- name: id
in: path
description: Eachrevenue id
description: Teachers id
required: true
type: string
format: JSON
......@@ -6500,21 +6500,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
'/Eachrevenues/{id}/replace':
'/Teachers/{id}/replace':
post:
tags:
- Eachrevenue
- Teachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Eachrevenue.replaceById__post_Eachrevenues_{id}_replace'
operationId: 'Teachers.replaceById__post_Teachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -6528,19 +6528,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
/Eachrevenues/findOne:
/Teachers/findOne:
get:
tags:
- Eachrevenue
- Teachers
summary: Find first instance of the model matched by filter from the data source.
operationId: Eachrevenue.findOne
operationId: Teachers.findOne
parameters:
- name: filter
in: query
......@@ -6557,14 +6557,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
deprecated: false
/Eachrevenues/update:
/Teachers/update:
post:
tags:
- Eachrevenue
- Teachers
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Eachrevenue.updateAll
operationId: Teachers.updateAll
parameters:
- name: where
in: query
......@@ -6578,7 +6578,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Eachrevenue'
$ref: '#/definitions/Teachers'
responses:
'200':
description: Request was successful
......@@ -6591,12 +6591,12 @@ paths:
type: number
format: double
deprecated: false
/Eachrevenues/count:
/Teachers/count:
get:
tags:
- Eachrevenue
- Teachers
summary: Count instances of the model matched by where from the data source.
operationId: Eachrevenue.count
operationId: Teachers.count
parameters:
- name: where
in: query
......@@ -6614,12 +6614,12 @@ paths:
type: number
format: double
deprecated: false
/Teachers:
/Offlineteachers:
post:
tags:
- Teachers
- Offlineteachers
summary: Create a new instance of the model and persist it into the data source.
operationId: Teachers.create
operationId: Offlineteachers.create
parameters:
- name: data
in: body
......@@ -6627,20 +6627,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
patch:
tags:
- Teachers
- Offlineteachers
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Teachers.patchOrCreate
operationId: Offlineteachers.patchOrCreate
parameters:
- name: data
in: body
......@@ -6648,20 +6648,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
put:
tags:
- Teachers
- Offlineteachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Teachers.replaceOrCreate__put_Teachers
operationId: Offlineteachers.replaceOrCreate__put_Offlineteachers
parameters:
- name: data
in: body
......@@ -6669,18 +6669,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
get:
tags:
- Teachers
- Offlineteachers
summary: Find all instances of the model matched by filter from the data source.
operationId: Teachers.find
operationId: Offlineteachers.find
parameters:
- name: filter
in: query
......@@ -6699,16 +6699,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
/Teachers/replaceOrCreate:
/Offlineteachers/replaceOrCreate:
post:
tags:
- Teachers
- Offlineteachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Teachers.replaceOrCreate__post_Teachers_replaceOrCreate
operationId: Offlineteachers.replaceOrCreate__post_Offlineteachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -6716,21 +6716,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
/Teachers/upsertWithWhere:
/Offlineteachers/upsertWithWhere:
post:
tags:
- Teachers
- Offlineteachers
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Teachers.upsertWithWhere
operationId: Offlineteachers.upsertWithWhere
parameters:
- name: where
in: query
......@@ -6744,19 +6744,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
'/Teachers/{id}/exists':
'/Offlineteachers/{id}/exists':
get:
tags:
- Teachers
- Offlineteachers
summary: Check whether a model instance exists in the data source.
operationId: 'Teachers.exists__get_Teachers_{id}_exists'
operationId: 'Offlineteachers.exists__get_Offlineteachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -6773,12 +6773,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Teachers/{id}':
'/Offlineteachers/{id}':
head:
tags:
- Teachers
- Offlineteachers
summary: Check whether a model instance exists in the data source.
operationId: 'Teachers.exists__head_Teachers_{id}'
operationId: 'Offlineteachers.exists__head_Offlineteachers_{id}'
parameters:
- name: id
in: path
......@@ -6797,9 +6797,9 @@ paths:
deprecated: false
get:
tags:
- Teachers
- Offlineteachers
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Teachers.findById
operationId: Offlineteachers.findById
parameters:
- name: id
in: path
......@@ -6819,15 +6819,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
put:
tags:
- Teachers
- Offlineteachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Teachers.replaceById__put_Teachers_{id}'
operationId: 'Offlineteachers.replaceById__put_Offlineteachers_{id}'
parameters:
- name: id
in: path
......@@ -6841,18 +6841,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
delete:
tags:
- Teachers
- Offlineteachers
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Teachers.deleteById
operationId: Offlineteachers.deleteById
parameters:
- name: id
in: path
......@@ -6868,15 +6868,15 @@ paths:
deprecated: false
patch:
tags:
- Teachers
- Offlineteachers
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Teachers.prototype.patchAttributes
operationId: Offlineteachers.prototype.patchAttributes
parameters:
- name: id
in: path
description: Teachers id
description: Offlineteachers id
required: true
type: string
format: JSON
......@@ -6886,21 +6886,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
'/Teachers/{id}/replace':
'/Offlineteachers/{id}/replace':
post:
tags:
- Teachers
- Offlineteachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Teachers.replaceById__post_Teachers_{id}_replace'
operationId: 'Offlineteachers.replaceById__post_Offlineteachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -6914,19 +6914,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
/Teachers/findOne:
/Offlineteachers/findOne:
get:
tags:
- Teachers
- Offlineteachers
summary: Find first instance of the model matched by filter from the data source.
operationId: Teachers.findOne
operationId: Offlineteachers.findOne
parameters:
- name: filter
in: query
......@@ -6943,14 +6943,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
deprecated: false
/Teachers/update:
/Offlineteachers/update:
post:
tags:
- Teachers
- Offlineteachers
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Teachers.updateAll
operationId: Offlineteachers.updateAll
parameters:
- name: where
in: query
......@@ -6964,7 +6964,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Teachers'
$ref: '#/definitions/Offlineteachers'
responses:
'200':
description: Request was successful
......@@ -6977,12 +6977,12 @@ paths:
type: number
format: double
deprecated: false
/Teachers/count:
/Offlineteachers/count:
get:
tags:
- Teachers
- Offlineteachers
summary: Count instances of the model matched by where from the data source.
operationId: Teachers.count
operationId: Offlineteachers.count
parameters:
- name: where
in: query
......@@ -7000,12 +7000,12 @@ paths:
type: number
format: double
deprecated: false
/Offlineteachers:
/Onlineteachers:
post:
tags:
- Offlineteachers
- Onlineteachers
summary: Create a new instance of the model and persist it into the data source.
operationId: Offlineteachers.create
operationId: Onlineteachers.create
parameters:
- name: data
in: body
......@@ -7013,20 +7013,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
patch:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Offlineteachers.patchOrCreate
operationId: Onlineteachers.patchOrCreate
parameters:
- name: data
in: body
......@@ -7034,20 +7034,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
put:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Offlineteachers.replaceOrCreate__put_Offlineteachers
operationId: Onlineteachers.replaceOrCreate__put_Onlineteachers
parameters:
- name: data
in: body
......@@ -7055,18 +7055,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
get:
tags:
- Offlineteachers
- Onlineteachers
summary: Find all instances of the model matched by filter from the data source.
operationId: Offlineteachers.find
operationId: Onlineteachers.find
parameters:
- name: filter
in: query
......@@ -7085,16 +7085,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
/Offlineteachers/replaceOrCreate:
/Onlineteachers/replaceOrCreate:
post:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Offlineteachers.replaceOrCreate__post_Offlineteachers_replaceOrCreate
operationId: Onlineteachers.replaceOrCreate__post_Onlineteachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -7102,21 +7102,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
/Offlineteachers/upsertWithWhere:
/Onlineteachers/upsertWithWhere:
post:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Offlineteachers.upsertWithWhere
operationId: Onlineteachers.upsertWithWhere
parameters:
- name: where
in: query
......@@ -7130,19 +7130,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
'/Offlineteachers/{id}/exists':
'/Onlineteachers/{id}/exists':
get:
tags:
- Offlineteachers
- Onlineteachers
summary: Check whether a model instance exists in the data source.
operationId: 'Offlineteachers.exists__get_Offlineteachers_{id}_exists'
operationId: 'Onlineteachers.exists__get_Onlineteachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -7159,12 +7159,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Offlineteachers/{id}':
'/Onlineteachers/{id}':
head:
tags:
- Offlineteachers
- Onlineteachers
summary: Check whether a model instance exists in the data source.
operationId: 'Offlineteachers.exists__head_Offlineteachers_{id}'
operationId: 'Onlineteachers.exists__head_Onlineteachers_{id}'
parameters:
- name: id
in: path
......@@ -7183,9 +7183,9 @@ paths:
deprecated: false
get:
tags:
- Offlineteachers
- Onlineteachers
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Offlineteachers.findById
operationId: Onlineteachers.findById
parameters:
- name: id
in: path
......@@ -7205,15 +7205,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
put:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Offlineteachers.replaceById__put_Offlineteachers_{id}'
operationId: 'Onlineteachers.replaceById__put_Onlineteachers_{id}'
parameters:
- name: id
in: path
......@@ -7227,18 +7227,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
delete:
tags:
- Offlineteachers
- Onlineteachers
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Offlineteachers.deleteById
operationId: Onlineteachers.deleteById
parameters:
- name: id
in: path
......@@ -7254,15 +7254,15 @@ paths:
deprecated: false
patch:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Offlineteachers.prototype.patchAttributes
operationId: Onlineteachers.prototype.patchAttributes
parameters:
- name: id
in: path
description: Offlineteachers id
description: Onlineteachers id
required: true
type: string
format: JSON
......@@ -7272,21 +7272,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
'/Offlineteachers/{id}/replace':
'/Onlineteachers/{id}/replace':
post:
tags:
- Offlineteachers
- Onlineteachers
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Offlineteachers.replaceById__post_Offlineteachers_{id}_replace'
operationId: 'Onlineteachers.replaceById__post_Onlineteachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -7300,19 +7300,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
/Offlineteachers/findOne:
/Onlineteachers/findOne:
get:
tags:
- Offlineteachers
- Onlineteachers
summary: Find first instance of the model matched by filter from the data source.
operationId: Offlineteachers.findOne
operationId: Onlineteachers.findOne
parameters:
- name: filter
in: query
......@@ -7329,14 +7329,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
deprecated: false
/Offlineteachers/update:
/Onlineteachers/update:
post:
tags:
- Offlineteachers
- Onlineteachers
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Offlineteachers.updateAll
operationId: Onlineteachers.updateAll
parameters:
- name: where
in: query
......@@ -7350,7 +7350,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Offlineteachers'
$ref: '#/definitions/Onlineteachers'
responses:
'200':
description: Request was successful
......@@ -7363,12 +7363,12 @@ paths:
type: number
format: double
deprecated: false
/Offlineteachers/count:
/Onlineteachers/count:
get:
tags:
- Offlineteachers
- Onlineteachers
summary: Count instances of the model matched by where from the data source.
operationId: Offlineteachers.count
operationId: Onlineteachers.count
parameters:
- name: where
in: query
......@@ -7386,12 +7386,12 @@ paths:
type: number
format: double
deprecated: false
/Onlineteachers:
/Merchants:
post:
tags:
- Onlineteachers
- Merchant
summary: Create a new instance of the model and persist it into the data source.
operationId: Onlineteachers.create
operationId: Merchant.create
parameters:
- name: data
in: body
......@@ -7399,20 +7399,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
patch:
tags:
- Onlineteachers
- Merchant
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Onlineteachers.patchOrCreate
operationId: Merchant.patchOrCreate
parameters:
- name: data
in: body
......@@ -7420,20 +7420,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
put:
tags:
- Onlineteachers
- Merchant
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Onlineteachers.replaceOrCreate__put_Onlineteachers
operationId: Merchant.replaceOrCreate__put_Merchants
parameters:
- name: data
in: body
......@@ -7441,18 +7441,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
get:
tags:
- Onlineteachers
- Merchant
summary: Find all instances of the model matched by filter from the data source.
operationId: Onlineteachers.find
operationId: Merchant.find
parameters:
- name: filter
in: query
......@@ -7471,16 +7471,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
/Onlineteachers/replaceOrCreate:
/Merchants/replaceOrCreate:
post:
tags:
- Onlineteachers
- Merchant
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Onlineteachers.replaceOrCreate__post_Onlineteachers_replaceOrCreate
operationId: Merchant.replaceOrCreate__post_Merchants_replaceOrCreate
parameters:
- name: data
in: body
......@@ -7488,21 +7488,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
/Onlineteachers/upsertWithWhere:
/Merchants/upsertWithWhere:
post:
tags:
- Onlineteachers
- Merchant
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Onlineteachers.upsertWithWhere
operationId: Merchant.upsertWithWhere
parameters:
- name: where
in: query
......@@ -7516,19 +7516,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
'/Onlineteachers/{id}/exists':
'/Merchants/{id}/exists':
get:
tags:
- Onlineteachers
- Merchant
summary: Check whether a model instance exists in the data source.
operationId: 'Onlineteachers.exists__get_Onlineteachers_{id}_exists'
operationId: 'Merchant.exists__get_Merchants_{id}_exists'
parameters:
- name: id
in: path
......@@ -7545,12 +7545,12 @@ paths:
exists:
type: boolean
deprecated: false
'/Onlineteachers/{id}':
'/Merchants/{id}':
head:
tags:
- Onlineteachers
- Merchant
summary: Check whether a model instance exists in the data source.
operationId: 'Onlineteachers.exists__head_Onlineteachers_{id}'
operationId: 'Merchant.exists__head_Merchants_{id}'
parameters:
- name: id
in: path
......@@ -7569,9 +7569,9 @@ paths:
deprecated: false
get:
tags:
- Onlineteachers
- Merchant
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Onlineteachers.findById
operationId: Merchant.findById
parameters:
- name: id
in: path
......@@ -7591,15 +7591,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
put:
tags:
- Onlineteachers
- Merchant
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Onlineteachers.replaceById__put_Onlineteachers_{id}'
operationId: 'Merchant.replaceById__put_Merchants_{id}'
parameters:
- name: id
in: path
......@@ -7613,18 +7613,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
delete:
tags:
- Onlineteachers
- Merchant
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Onlineteachers.deleteById
operationId: Merchant.deleteById
parameters:
- name: id
in: path
......@@ -7640,15 +7640,15 @@ paths:
deprecated: false
patch:
tags:
- Onlineteachers
- Merchant
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Onlineteachers.prototype.patchAttributes
operationId: Merchant.prototype.patchAttributes
parameters:
- name: id
in: path
description: Onlineteachers id
description: Merchant id
required: true
type: string
format: JSON
......@@ -7658,21 +7658,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
'/Onlineteachers/{id}/replace':
'/Merchants/{id}/replace':
post:
tags:
- Onlineteachers
- Merchant
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Onlineteachers.replaceById__post_Onlineteachers_{id}_replace'
operationId: 'Merchant.replaceById__post_Merchants_{id}_replace'
parameters:
- name: id
in: path
......@@ -7686,19 +7686,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
/Onlineteachers/findOne:
/Merchants/findOne:
get:
tags:
- Onlineteachers
- Merchant
summary: Find first instance of the model matched by filter from the data source.
operationId: Onlineteachers.findOne
operationId: Merchant.findOne
parameters:
- name: filter
in: query
......@@ -7715,14 +7715,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
deprecated: false
/Onlineteachers/update:
/Merchants/update:
post:
tags:
- Onlineteachers
- Merchant
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Onlineteachers.updateAll
operationId: Merchant.updateAll
parameters:
- name: where
in: query
......@@ -7736,7 +7736,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/Onlineteachers'
$ref: '#/definitions/Merchant'
responses:
'200':
description: Request was successful
......@@ -7749,12 +7749,12 @@ paths:
type: number
format: double
deprecated: false
/Onlineteachers/count:
/Merchants/count:
get:
tags:
- Onlineteachers
- Merchant
summary: Count instances of the model matched by where from the data source.
operationId: Onlineteachers.count
operationId: Merchant.count
parameters:
- name: where
in: query
......@@ -8172,22 +8172,6 @@ definitions:
type: number
format: double
additionalProperties: false
Merchant:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
value:
type: number
format: double
required:
- id
- name
- value
additionalProperties: false
Order:
properties:
id:
......@@ -8267,6 +8251,20 @@ definitions:
required:
- name
additionalProperties: false
Merchant:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
......
......@@ -65,10 +65,6 @@
"dataSource": "ruipeng",
"public": true
},
"Merchant": {
"dataSource": "ruipeng",
"public": true
},
"Order": {
"dataSource": "ruipeng",
"public": true
......@@ -92,5 +88,9 @@
"Onlineteachers": {
"dataSource": "ruipeng",
"public": true
},
"Merchant": {
"dataSource": "ruipeng",
"public": true
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment