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

add

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