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
2941f67c
Commit
2941f67c
authored
5 years ago
by
余海军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
7a28e506
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
162 additions
and
158 deletions
+162
-158
another-order.json
common/models/another-order.json
+12
-12
another-revenue.json
common/models/another-revenue.json
+12
-12
RuiPengLoopbackApi.yaml
definitions/RuiPengLoopbackApi.yaml
+136
-132
model-config.json
server/model-config.json
+2
-2
No files found.
common/models/another-order.json
View file @
2941f67c
...
@@ -55,19 +55,19 @@
...
@@ -55,19 +55,19 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
value2
"
:
{
"
type
"
:
{
"type"
:
"
Number
"
,
"type"
:
"
String
"
,
"required"
:
fals
e
,
"required"
:
tru
e
,
"length"
:
null
,
"length"
:
1
,
"precision"
:
32
,
"precision"
:
null
,
"scale"
:
0
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
value2
"
,
"columnName"
:
"
type
"
,
"dataType"
:
"
decimal
"
,
"dataType"
:
"
varchar
"
,
"dataLength"
:
null
,
"dataLength"
:
1
,
"dataPrecision"
:
32
,
"dataPrecision"
:
null
,
"dataScale"
:
0
,
"dataScale"
:
null
,
"nullable"
:
"
Y
"
"nullable"
:
"
N
"
}
}
}
}
},
},
...
...
This diff is collapsed.
Click to expand it.
common/models/another-revenue.json
View file @
2941f67c
...
@@ -55,19 +55,19 @@
...
@@ -55,19 +55,19 @@
"nullable"
:
"Y"
"nullable"
:
"Y"
}
}
},
},
"
value2
"
:
{
"
type
"
:
{
"type"
:
"
Number
"
,
"type"
:
"
String
"
,
"required"
:
fals
e
,
"required"
:
tru
e
,
"length"
:
null
,
"length"
:
2
,
"precision"
:
32
,
"precision"
:
null
,
"scale"
:
0
,
"scale"
:
null
,
"mysql"
:
{
"mysql"
:
{
"columnName"
:
"
value2
"
,
"columnName"
:
"
type
"
,
"dataType"
:
"
decimal
"
,
"dataType"
:
"
varchar
"
,
"dataLength"
:
null
,
"dataLength"
:
2
,
"dataPrecision"
:
32
,
"dataPrecision"
:
null
,
"dataScale"
:
0
,
"dataScale"
:
null
,
"nullable"
:
"
Y
"
"nullable"
:
"
N
"
}
}
}
}
},
},
...
...
This diff is collapsed.
Click to expand it.
definitions/RuiPengLoopbackApi.yaml
View file @
2941f67c
...
@@ -64924,12 +64924,12 @@ paths:
...
@@ -64924,12 +64924,12 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
deprecated: false
/Another
Order
s:
/Another
Revenue
s:
post:
post:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.create
operationId: Another
Revenue
.create
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -64937,20 +64937,20 @@ paths:
...
@@ -64937,20 +64937,20 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
patch:
patch:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.patchOrCreate
operationId: Another
Revenue
.patchOrCreate
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -64958,20 +64958,20 @@ paths:
...
@@ -64958,20 +64958,20 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
put:
put:
tags:
tags:
- Another
Order
- Another
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: Another
Order.replaceOrCreate__put_AnotherOrder
s
operationId: Another
Revenue.replaceOrCreate__put_AnotherRevenue
s
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -64979,18 +64979,18 @@ paths:
...
@@ -64979,18 +64979,18 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
get:
get:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.find
operationId: Another
Revenue
.find
parameters:
parameters:
- name: filter
- name: filter
in: query
in: query
...
@@ -65009,16 +65009,16 @@ paths:
...
@@ -65009,16 +65009,16 @@ paths:
schema:
schema:
type: array
type: array
items:
items:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
/Another
Order
s/replaceOrCreate:
/Another
Revenue
s/replaceOrCreate:
post:
post:
tags:
tags:
- Another
Order
- Another
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: Another
Order.replaceOrCreate__post_AnotherOrder
s_replaceOrCreate
operationId: Another
Revenue.replaceOrCreate__post_AnotherRevenue
s_replaceOrCreate
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -65026,21 +65026,21 @@ paths:
...
@@ -65026,21 +65026,21 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
/Another
Order
s/upsertWithWhere:
/Another
Revenue
s/upsertWithWhere:
post:
post:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.upsertWithWhere
operationId: Another
Revenue
.upsertWithWhere
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -65054,19 +65054,19 @@ paths:
...
@@ -65054,19 +65054,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/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
'/Another
Order
s/{id}/exists':
'/Another
Revenue
s/{id}/exists':
get:
get:
tags:
tags:
- Another
Order
- Another
Revenue
summary: Check whether a model instance exists in the data source.
summary: Check whether a model instance exists in the data source.
operationId: 'Another
Order.exists__get_AnotherOrder
s_{id}_exists'
operationId: 'Another
Revenue.exists__get_AnotherRevenue
s_{id}_exists'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65083,12 +65083,12 @@ paths:
...
@@ -65083,12 +65083,12 @@ paths:
exists:
exists:
type: boolean
type: boolean
deprecated: false
deprecated: false
'/Another
Order
s/{id}':
'/Another
Revenue
s/{id}':
head:
head:
tags:
tags:
- Another
Order
- Another
Revenue
summary: Check whether a model instance exists in the data source.
summary: Check whether a model instance exists in the data source.
operationId: 'Another
Order.exists__head_AnotherOrder
s_{id}'
operationId: 'Another
Revenue.exists__head_AnotherRevenue
s_{id}'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65107,9 +65107,9 @@ paths:
...
@@ -65107,9 +65107,9 @@ paths:
deprecated: false
deprecated: false
get:
get:
tags:
tags:
- Another
Order
- Another
Revenue
summary: 'Find a model instance by {{id}} from the data source.'
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Another
Order
.findById
operationId: Another
Revenue
.findById
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65129,15 +65129,15 @@ paths:
...
@@ -65129,15 +65129,15 @@ paths:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
put:
put:
tags:
tags:
- Another
Order
- Another
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: 'Another
Order.replaceById__put_AnotherOrder
s_{id}'
operationId: 'Another
Revenue.replaceById__put_AnotherRevenue
s_{id}'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65151,18 +65151,18 @@ paths:
...
@@ -65151,18 +65151,18 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
delete:
delete:
tags:
tags:
- Another
Order
- Another
Revenue
summary: 'Delete a model instance by {{id}} from the data source.'
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Another
Order
.deleteById
operationId: Another
Revenue
.deleteById
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65178,15 +65178,15 @@ paths:
...
@@ -65178,15 +65178,15 @@ paths:
deprecated: false
deprecated: false
patch:
patch:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.prototype.patchAttributes
operationId: Another
Revenue
.prototype.patchAttributes
parameters:
parameters:
- name: id
- name: id
in: path
in: path
description: Another
Order
id
description: Another
Revenue
id
required: true
required: true
type: string
type: string
format: JSON
format: JSON
...
@@ -65196,21 +65196,21 @@ paths:
...
@@ -65196,21 +65196,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/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
'/Another
Order
s/{id}/replace':
'/Another
Revenue
s/{id}/replace':
post:
post:
tags:
tags:
- Another
Order
- Another
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: 'Another
Order.replaceById__post_AnotherOrder
s_{id}_replace'
operationId: 'Another
Revenue.replaceById__post_AnotherRevenue
s_{id}_replace'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65224,19 +65224,19 @@ paths:
...
@@ -65224,19 +65224,19 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
/Another
Order
s/findOne:
/Another
Revenue
s/findOne:
get:
get:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.findOne
operationId: Another
Revenue
.findOne
parameters:
parameters:
- name: filter
- name: filter
in: query
in: query
...
@@ -65253,14 +65253,14 @@ paths:
...
@@ -65253,14 +65253,14 @@ paths:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
deprecated: false
deprecated: false
/Another
Order
s/update:
/Another
Revenue
s/update:
post:
post:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.updateAll
operationId: Another
Revenue
.updateAll
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -65274,7 +65274,7 @@ paths:
...
@@ -65274,7 +65274,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/Another
Order
'
$ref: '#/definitions/Another
Revenue
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
...
@@ -65287,12 +65287,12 @@ paths:
...
@@ -65287,12 +65287,12 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
deprecated: false
/Another
Order
s/count:
/Another
Revenue
s/count:
get:
get:
tags:
tags:
- Another
Order
- Another
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: Another
Order
.count
operationId: Another
Revenue
.count
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -65310,12 +65310,12 @@ paths:
...
@@ -65310,12 +65310,12 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
deprecated: false
/Another
Revenue
s:
/Another
Order
s:
post:
post:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.create
operationId: Another
Order
.create
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -65323,20 +65323,20 @@ paths:
...
@@ -65323,20 +65323,20 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
patch:
patch:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.patchOrCreate
operationId: Another
Order
.patchOrCreate
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -65344,20 +65344,20 @@ paths:
...
@@ -65344,20 +65344,20 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
put:
put:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue.replaceOrCreate__put_AnotherRevenue
s
operationId: Another
Order.replaceOrCreate__put_AnotherOrder
s
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -65365,18 +65365,18 @@ paths:
...
@@ -65365,18 +65365,18 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
get:
get:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.find
operationId: Another
Order
.find
parameters:
parameters:
- name: filter
- name: filter
in: query
in: query
...
@@ -65395,16 +65395,16 @@ paths:
...
@@ -65395,16 +65395,16 @@ paths:
schema:
schema:
type: array
type: array
items:
items:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
/Another
Revenue
s/replaceOrCreate:
/Another
Order
s/replaceOrCreate:
post:
post:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue.replaceOrCreate__post_AnotherRevenue
s_replaceOrCreate
operationId: Another
Order.replaceOrCreate__post_AnotherOrder
s_replaceOrCreate
parameters:
parameters:
- name: data
- name: data
in: body
in: body
...
@@ -65412,21 +65412,21 @@ paths:
...
@@ -65412,21 +65412,21 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
/Another
Revenue
s/upsertWithWhere:
/Another
Order
s/upsertWithWhere:
post:
post:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.upsertWithWhere
operationId: Another
Order
.upsertWithWhere
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -65440,19 +65440,19 @@ paths:
...
@@ -65440,19 +65440,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/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
'/Another
Revenue
s/{id}/exists':
'/Another
Order
s/{id}/exists':
get:
get:
tags:
tags:
- Another
Revenue
- Another
Order
summary: Check whether a model instance exists in the data source.
summary: Check whether a model instance exists in the data source.
operationId: 'Another
Revenue.exists__get_AnotherRevenue
s_{id}_exists'
operationId: 'Another
Order.exists__get_AnotherOrder
s_{id}_exists'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65469,12 +65469,12 @@ paths:
...
@@ -65469,12 +65469,12 @@ paths:
exists:
exists:
type: boolean
type: boolean
deprecated: false
deprecated: false
'/Another
Revenue
s/{id}':
'/Another
Order
s/{id}':
head:
head:
tags:
tags:
- Another
Revenue
- Another
Order
summary: Check whether a model instance exists in the data source.
summary: Check whether a model instance exists in the data source.
operationId: 'Another
Revenue.exists__head_AnotherRevenue
s_{id}'
operationId: 'Another
Order.exists__head_AnotherOrder
s_{id}'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65493,9 +65493,9 @@ paths:
...
@@ -65493,9 +65493,9 @@ paths:
deprecated: false
deprecated: false
get:
get:
tags:
tags:
- Another
Revenue
- Another
Order
summary: 'Find a model instance by {{id}} from the data source.'
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Another
Revenue
.findById
operationId: Another
Order
.findById
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65515,15 +65515,15 @@ paths:
...
@@ -65515,15 +65515,15 @@ paths:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
put:
put:
tags:
tags:
- Another
Revenue
- Another
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: 'Another
Revenue.replaceById__put_AnotherRevenue
s_{id}'
operationId: 'Another
Order.replaceById__put_AnotherOrder
s_{id}'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65537,18 +65537,18 @@ paths:
...
@@ -65537,18 +65537,18 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
delete:
delete:
tags:
tags:
- Another
Revenue
- Another
Order
summary: 'Delete a model instance by {{id}} from the data source.'
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Another
Revenue
.deleteById
operationId: Another
Order
.deleteById
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65564,15 +65564,15 @@ paths:
...
@@ -65564,15 +65564,15 @@ paths:
deprecated: false
deprecated: false
patch:
patch:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.prototype.patchAttributes
operationId: Another
Order
.prototype.patchAttributes
parameters:
parameters:
- name: id
- name: id
in: path
in: path
description: Another
Revenue
id
description: Another
Order
id
required: true
required: true
type: string
type: string
format: JSON
format: JSON
...
@@ -65582,21 +65582,21 @@ paths:
...
@@ -65582,21 +65582,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/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
'/Another
Revenue
s/{id}/replace':
'/Another
Order
s/{id}/replace':
post:
post:
tags:
tags:
- Another
Revenue
- Another
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: 'Another
Revenue.replaceById__post_AnotherRevenue
s_{id}_replace'
operationId: 'Another
Order.replaceById__post_AnotherOrder
s_{id}_replace'
parameters:
parameters:
- name: id
- name: id
in: path
in: path
...
@@ -65610,19 +65610,19 @@ paths:
...
@@ -65610,19 +65610,19 @@ paths:
required: false
required: false
schema:
schema:
description: Model instance data
description: Model instance data
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
/Another
Revenue
s/findOne:
/Another
Order
s/findOne:
get:
get:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.findOne
operationId: Another
Order
.findOne
parameters:
parameters:
- name: filter
- name: filter
in: query
in: query
...
@@ -65639,14 +65639,14 @@ paths:
...
@@ -65639,14 +65639,14 @@ paths:
'200':
'200':
description: Request was successful
description: Request was successful
schema:
schema:
$ref: '#/definitions/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
deprecated: false
deprecated: false
/Another
Revenue
s/update:
/Another
Order
s/update:
post:
post:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.updateAll
operationId: Another
Order
.updateAll
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -65660,7 +65660,7 @@ paths:
...
@@ -65660,7 +65660,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/Another
Revenue
'
$ref: '#/definitions/Another
Order
'
responses:
responses:
'200':
'200':
description: Request was successful
description: Request was successful
...
@@ -65673,12 +65673,12 @@ paths:
...
@@ -65673,12 +65673,12 @@ paths:
type: number
type: number
format: double
format: double
deprecated: false
deprecated: false
/Another
Revenue
s/count:
/Another
Order
s/count:
get:
get:
tags:
tags:
- Another
Revenue
- Another
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: Another
Revenue
.count
operationId: Another
Order
.count
parameters:
parameters:
- name: where
- name: where
in: query
in: query
...
@@ -68367,7 +68367,7 @@ definitions:
...
@@ -68367,7 +68367,7 @@ definitions:
maxLength: 255
maxLength: 255
type: string
type: string
additionalProperties: false
additionalProperties: false
Another
Order
:
Another
Revenue
:
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
...
@@ -68378,11 +68378,13 @@ definitions:
...
@@ -68378,11 +68378,13 @@ definitions:
value1:
value1:
type: number
type: number
format: double
format: double
value2:
type:
type: number
maxLength: 2
format: double
type: string
required:
- type
additionalProperties: false
additionalProperties: false
Another
Revenue
:
Another
Order
:
properties:
properties:
id:
id:
maxLength: 36
maxLength: 36
...
@@ -68393,9 +68395,11 @@ definitions:
...
@@ -68393,9 +68395,11 @@ definitions:
value1:
value1:
type: number
type: number
format: double
format: double
value2:
type:
type: number
maxLength: 1
format: double
type: string
required:
- type
additionalProperties: false
additionalProperties: false
basePath: /api/ruipeng
basePath: /api/ruipeng
swagger: '2.0'
swagger: '2.0'
This diff is collapsed.
Click to expand it.
server/model-config.json
View file @
2941f67c
...
@@ -685,11 +685,11 @@
...
@@ -685,11 +685,11 @@
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
},
"Another
Order
"
:
{
"Another
Revenue
"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
},
},
"Another
Revenue
"
:
{
"Another
Order
"
:
{
"dataSource"
:
"ruipeng"
,
"dataSource"
:
"ruipeng"
,
"public"
:
true
"public"
:
true
}
}
...
...
This diff is collapsed.
Click to expand it.
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