Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RuiPengLoopbackApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄卓然
RuiPengLoopbackApi
Commits
ad28b50e
Commit
ad28b50e
authored
Aug 22, 2019
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
2e0c1c76
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
455 additions
and
458 deletions
+455
-458
merchant.json
common/models/merchant.json
+3
-4
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+448
-450
model-config.json
server/model-config.json
+4
-4
No files found.
common/models/merchant.json
View file @
ad28b50e
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"properties"
:
{
"properties"
:
{
"id"
:
{
"id"
:
{
"type"
:
"String"
,
"type"
:
"String"
,
"required"
:
tru
e
,
"required"
:
fals
e
,
"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"
:
tru
e
,
"required"
:
fals
e
,
"length"
:
65535
,
"length"
:
65535
,
"precision"
:
null
,
"precision"
:
null
,
"scale"
:
null
,
"scale"
:
null
,
...
...
definitions/RuiPengLoopbackApi.yaml
View file @
ad28b50e
...
@@ -5070,12 +5070,12 @@ paths:
...
@@ -5070,12 +5070,12 @@ paths:
type
:
number
type
:
number
format
:
double
format
:
double
deprecated
:
false
deprecated
:
false
/
Merchant
s
:
/
Order
s
:
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_Merchant
s
operationId:
Order.replaceOrCreate__put_Order
s
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
/
Merchant
s/replaceOrCreate
:
/
Order
s/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_Merchant
s_replaceOrCreate
operationId:
Order.replaceOrCreate__post_Order
s_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
/
Merchant
s/upsertWithWhere
:
/
Order
s/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
'
/
Merchant
s/{id}/exists'
:
'
/
Order
s/{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_Merchant
s_{id}_exists'
operationId
:
'
Order.exists__get_Order
s_{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
'
/
Merchant
s/{id}'
:
'
/
Order
s/{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_Merchant
s_{id}'
operationId
:
'
Order.exists__head_Order
s_{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_Merchant
s_{id}'
operationId: '
Order.replaceById__put_Order
s_{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
'
/
Merchant
s/{id}/replace'
:
'
/
Order
s/{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_Merchant
s_{id}_replace'
operationId: '
Order.replaceById__post_Order
s_{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
/
Merchant
s/findOne
:
/
Order
s/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
/
Merchant
s/update
:
/
Order
s/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
/
Merchant
s/count
:
/
Order
s/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
/
Order
s
:
/
Revenue
s
:
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_Order
s
operationId:
Revenue.replaceOrCreate__put_Revenue
s
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
/
Order
s/replaceOrCreate
:
/
Revenue
s/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_Order
s_replaceOrCreate
operationId:
Revenue.replaceOrCreate__post_Revenue
s_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
/
Order
s/upsertWithWhere
:
/
Revenue
s/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
'
/
Order
s/{id}/exists'
:
'
/
Revenue
s/{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_Order
s_{id}_exists'
operationId
:
'
Revenue.exists__get_Revenue
s_{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
'
/
Order
s/{id}'
:
'
/
Revenue
s/{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_Order
s_{id}'
operationId
:
'
Revenue.exists__head_Revenue
s_{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_Order
s_{id}'
operationId: '
Revenue.replaceById__put_Revenue
s_{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
'
/
Order
s/{id}/replace'
:
'
/
Revenue
s/{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_Order
s_{id}_replace'
operationId: '
Revenue.replaceById__post_Revenue
s_{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
/
Order
s/findOne
:
/
Revenue
s/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
/
Order
s/update
:
/
Revenue
s/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
/
Order
s/count
:
/
Revenue
s/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
/
R
evenues
:
/
Eachr
evenues
:
post
:
post
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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
:
R
evenue.create
operationId
:
Eachr
evenue.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/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
responses
:
responses
:
'
200'
:
'
200'
:
description
:
Request was successful
description
:
Request was successful
schema
:
schema
:
$ref
:
'
#/definitions/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
deprecated
:
false
deprecated
:
false
patch
:
patch
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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:
R
evenue.patchOrCreate
operationId:
Eachr
evenue.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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
put
:
put
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues
operationId:
Eachrevenue.replaceOrCreate__put_Eachr
evenues
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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
get
:
get
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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
:
R
evenue.find
operationId
:
Eachr
evenue.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/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
deprecated
:
false
deprecated
:
false
/
R
evenues/replaceOrCreate
:
/
Eachr
evenues/replaceOrCreate
:
post
:
post
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues_replaceOrCreate
operationId:
Eachrevenue.replaceOrCreate__post_Eachr
evenues_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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
/
R
evenues/upsertWithWhere
:
/
Eachr
evenues/upsertWithWhere
:
post
:
post
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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:
R
evenue.upsertWithWhere
operationId:
Eachr
evenue.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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
'
/
R
evenues/{id}/exists'
:
'
/
Eachr
evenues/{id}/exists'
:
get
:
get
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues_{id}_exists'
operationId
:
'
Eachrevenue.exists__get_Eachr
evenues_{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
'
/
R
evenues/{id}'
:
'
/
Eachr
evenues/{id}'
:
head
:
head
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues_{id}'
operationId
:
'
Eachrevenue.exists__head_Eachr
evenues_{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
:
-
R
evenue
-
Eachr
evenue
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
R
evenue.findById
operationId
:
Eachr
evenue.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/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
deprecated
:
false
deprecated
:
false
put
:
put
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues_{id}'
operationId: '
Eachrevenue.replaceById__put_Eachr
evenues_{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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
delete
:
delete
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
R
evenue.deleteById
operationId
:
Eachr
evenue.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
:
-
R
evenue
-
Eachr
evenue
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:
R
evenue.prototype.patchAttributes
operationId:
Eachr
evenue.prototype.patchAttributes
parameters:
parameters:
- name: id
- name: id
in: path
in: path
description:
R
evenue id
description:
Eachr
evenue 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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
'
/
R
evenues/{id}/replace'
:
'
/
Eachr
evenues/{id}/replace'
:
post
:
post
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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_R
evenues_{id}_replace'
operationId: '
Eachrevenue.replaceById__post_Eachr
evenues_{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/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
R
evenue'
$ref: '#/definitions/
Eachr
evenue'
deprecated: false
deprecated: false
/
R
evenues/findOne
:
/
Eachr
evenues/findOne
:
get
:
get
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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
:
R
evenue.findOne
operationId
:
Eachr
evenue.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/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
deprecated
:
false
deprecated
:
false
/
R
evenues/update
:
/
Eachr
evenues/update
:
post
:
post
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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
:
R
evenue.updateAll
operationId
:
Eachr
evenue.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/
R
evenue'
$ref
:
'
#/definitions/
Eachr
evenue'
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
/
R
evenues/count
:
/
Eachr
evenues/count
:
get
:
get
:
tags
:
tags
:
-
R
evenue
-
Eachr
evenue
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
:
R
evenue.count
operationId
:
Eachr
evenue.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
/
Eachrevenue
s
:
/
Teacher
s
:
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_Eachrevenue
s
operationId:
Teachers.replaceOrCreate__put_Teacher
s
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
/
Eachrevenue
s/replaceOrCreate
:
/
Teacher
s/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_Eachrevenue
s_replaceOrCreate
operationId:
Teachers.replaceOrCreate__post_Teacher
s_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
/
Eachrevenue
s/upsertWithWhere
:
/
Teacher
s/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
'
/
Eachrevenue
s/{id}/exists'
:
'
/
Teacher
s/{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_Eachrevenue
s_{id}_exists'
operationId
:
'
Teachers.exists__get_Teacher
s_{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
'
/
Eachrevenue
s/{id}'
:
'
/
Teacher
s/{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_Eachrevenue
s_{id}'
operationId
:
'
Teachers.exists__head_Teacher
s_{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_Eachrevenue
s_{id}'
operationId: '
Teachers.replaceById__put_Teacher
s_{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
'
/
Eachrevenue
s/{id}/replace'
:
'
/
Teacher
s/{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_Eachrevenue
s_{id}_replace'
operationId: '
Teachers.replaceById__post_Teacher
s_{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
/
Eachrevenue
s/findOne
:
/
Teacher
s/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
/
Eachrevenue
s/update
:
/
Teacher
s/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
/
Eachrevenue
s/count
:
/
Teacher
s/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
/
T
eachers
:
/
Offlinet
eachers
:
post
:
post
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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
:
T
eachers.create
operationId
:
Offlinet
eachers.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/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
responses
:
responses
:
'
200'
:
'
200'
:
description
:
Request was successful
description
:
Request was successful
schema
:
schema
:
$ref
:
'
#/definitions/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
deprecated
:
false
deprecated
:
false
patch
:
patch
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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:
T
eachers.patchOrCreate
operationId:
Offlinet
eachers.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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
put
:
put
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers
operationId:
Offlineteachers.replaceOrCreate__put_Offlinet
eachers
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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
get
:
get
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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
:
T
eachers.find
operationId
:
Offlinet
eachers.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/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
deprecated
:
false
deprecated
:
false
/
T
eachers/replaceOrCreate
:
/
Offlinet
eachers/replaceOrCreate
:
post
:
post
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers_replaceOrCreate
operationId:
Offlineteachers.replaceOrCreate__post_Offlinet
eachers_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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
/
T
eachers/upsertWithWhere
:
/
Offlinet
eachers/upsertWithWhere
:
post
:
post
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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:
T
eachers.upsertWithWhere
operationId:
Offlinet
eachers.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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
'
/
T
eachers/{id}/exists'
:
'
/
Offlinet
eachers/{id}/exists'
:
get
:
get
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers_{id}_exists'
operationId
:
'
Offlineteachers.exists__get_Offlinet
eachers_{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
'
/
T
eachers/{id}'
:
'
/
Offlinet
eachers/{id}'
:
head
:
head
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers_{id}'
operationId
:
'
Offlineteachers.exists__head_Offlinet
eachers_{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
:
-
T
eachers
-
Offlinet
eachers
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
T
eachers.findById
operationId
:
Offlinet
eachers.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/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
deprecated
:
false
deprecated
:
false
put
:
put
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers_{id}'
operationId: '
Offlineteachers.replaceById__put_Offlinet
eachers_{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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
delete
:
delete
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
T
eachers.deleteById
operationId
:
Offlinet
eachers.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
:
-
T
eachers
-
Offlinet
eachers
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:
T
eachers.prototype.patchAttributes
operationId:
Offlinet
eachers.prototype.patchAttributes
parameters:
parameters:
- name: id
- name: id
in: path
in: path
description:
T
eachers id
description:
Offlinet
eachers 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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
'
/
T
eachers/{id}/replace'
:
'
/
Offlinet
eachers/{id}/replace'
:
post
:
post
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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_T
eachers_{id}_replace'
operationId: '
Offlineteachers.replaceById__post_Offlinet
eachers_{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/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/
T
eachers'
$ref: '#/definitions/
Offlinet
eachers'
deprecated: false
deprecated: false
/
T
eachers/findOne
:
/
Offlinet
eachers/findOne
:
get
:
get
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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
:
T
eachers.findOne
operationId
:
Offlinet
eachers.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/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
deprecated
:
false
deprecated
:
false
/
T
eachers/update
:
/
Offlinet
eachers/update
:
post
:
post
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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
:
T
eachers.updateAll
operationId
:
Offlinet
eachers.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/
T
eachers'
$ref
:
'
#/definitions/
Offlinet
eachers'
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
/
T
eachers/count
:
/
Offlinet
eachers/count
:
get
:
get
:
tags
:
tags
:
-
T
eachers
-
Offlinet
eachers
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
:
T
eachers.count
operationId
:
Offlinet
eachers.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
/O
ff
lineteachers
:
/O
n
lineteachers
:
post
:
post
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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
:
O
ff
lineteachers.create
operationId
:
O
n
lineteachers.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/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
responses
:
responses
:
'
200'
:
'
200'
:
description
:
Request was successful
description
:
Request was successful
schema
:
schema
:
$ref
:
'
#/definitions/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
deprecated
:
false
deprecated
:
false
patch
:
patch
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: O
ff
lineteachers.patchOrCreate
operationId: O
n
lineteachers.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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
put
:
put
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: O
fflineteachers.replaceOrCreate__put_Off
lineteachers
operationId: O
nlineteachers.replaceOrCreate__put_On
lineteachers
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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
get
:
get
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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
:
O
ff
lineteachers.find
operationId
:
O
n
lineteachers.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/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
deprecated
:
false
deprecated
:
false
/O
ff
lineteachers/replaceOrCreate
:
/O
n
lineteachers/replaceOrCreate
:
post
:
post
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: O
fflineteachers.replaceOrCreate__post_Off
lineteachers_replaceOrCreate
operationId: O
nlineteachers.replaceOrCreate__post_On
lineteachers_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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
/O
ff
lineteachers/upsertWithWhere
:
/O
n
lineteachers/upsertWithWhere
:
post
:
post
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: O
ff
lineteachers.upsertWithWhere
operationId: O
n
lineteachers.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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
'
/O
ff
lineteachers/{id}/exists'
:
'
/O
n
lineteachers/{id}/exists'
:
get
:
get
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
summary
:
Check whether a model instance exists in the data source.
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
O
fflineteachers.exists__get_Off
lineteachers_{id}_exists'
operationId
:
'
O
nlineteachers.exists__get_On
lineteachers_{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
'
/O
ff
lineteachers/{id}'
:
'
/O
n
lineteachers/{id}'
:
head
:
head
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
summary
:
Check whether a model instance exists in the data source.
summary
:
Check whether a model instance exists in the data source.
operationId
:
'
O
fflineteachers.exists__head_Off
lineteachers_{id}'
operationId
:
'
O
nlineteachers.exists__head_On
lineteachers_{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
:
-
O
ff
lineteachers
-
O
n
lineteachers
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Find
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
O
ff
lineteachers.findById
operationId
:
O
n
lineteachers.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/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
deprecated
:
false
deprecated
:
false
put
:
put
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: 'O
fflineteachers.replaceById__put_Off
lineteachers_{id}'
operationId: 'O
nlineteachers.replaceById__put_On
lineteachers_{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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
delete
:
delete
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
summary
:
'
Delete
a
model
instance
by
{{id}}
from
the
data
source.'
operationId
:
O
ff
lineteachers.deleteById
operationId
:
O
n
lineteachers.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
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: O
ff
lineteachers.prototype.patchAttributes
operationId: O
n
lineteachers.prototype.patchAttributes
parameters:
parameters:
- name: id
- name: id
in: path
in: path
description: O
ff
lineteachers id
description: O
n
lineteachers 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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
'
/O
ff
lineteachers/{id}/replace'
:
'
/O
n
lineteachers/{id}/replace'
:
post
:
post
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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: 'O
fflineteachers.replaceById__post_Off
lineteachers_{id}_replace'
operationId: 'O
nlineteachers.replaceById__post_On
lineteachers_{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/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/O
ff
lineteachers'
$ref: '#/definitions/O
n
lineteachers'
deprecated: false
deprecated: false
/O
ff
lineteachers/findOne
:
/O
n
lineteachers/findOne
:
get
:
get
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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
:
O
ff
lineteachers.findOne
operationId
:
O
n
lineteachers.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/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
deprecated
:
false
deprecated
:
false
/O
ff
lineteachers/update
:
/O
n
lineteachers/update
:
post
:
post
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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
:
O
ff
lineteachers.updateAll
operationId
:
O
n
lineteachers.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/O
ff
lineteachers'
$ref
:
'
#/definitions/O
n
lineteachers'
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
/O
ff
lineteachers/count
:
/O
n
lineteachers/count
:
get
:
get
:
tags
:
tags
:
-
O
ff
lineteachers
-
O
n
lineteachers
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
:
O
ff
lineteachers.count
operationId
:
O
n
lineteachers.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
/
Onlineteacher
s
:
/
Merchant
s
:
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_Onlineteacher
s
operationId:
Merchant.replaceOrCreate__put_Merchant
s
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
/
Onlineteacher
s/replaceOrCreate
:
/
Merchant
s/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_Onlineteacher
s_replaceOrCreate
operationId:
Merchant.replaceOrCreate__post_Merchant
s_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
/
Onlineteacher
s/upsertWithWhere
:
/
Merchant
s/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
'
/
Onlineteacher
s/{id}/exists'
:
'
/
Merchant
s/{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_Onlineteacher
s_{id}_exists'
operationId
:
'
Merchant.exists__get_Merchant
s_{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
'
/
Onlineteacher
s/{id}'
:
'
/
Merchant
s/{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_Onlineteacher
s_{id}'
operationId
:
'
Merchant.exists__head_Merchant
s_{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_Onlineteacher
s_{id}'
operationId: '
Merchant.replaceById__put_Merchant
s_{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
'
/
Onlineteacher
s/{id}/replace'
:
'
/
Merchant
s/{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_Onlineteacher
s_{id}_replace'
operationId: '
Merchant.replaceById__post_Merchant
s_{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
/
Onlineteacher
s/findOne
:
/
Merchant
s/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
/
Onlineteacher
s/update
:
/
Merchant
s/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
/
Onlineteacher
s/count
:
/
Merchant
s/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
:
...
...
server/model-config.json
View file @
ad28b50e
...
@@ -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
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment