Commit 2941f67c authored by 余海军's avatar 余海军

add

parent 7a28e506
......@@ -55,19 +55,19 @@
"nullable": "Y"
}
},
"value2": {
"type": "Number",
"required": false,
"length": null,
"precision": 32,
"scale": 0,
"type": {
"type": "String",
"required": true,
"length": 1,
"precision": null,
"scale": null,
"mysql": {
"columnName": "value2",
"dataType": "decimal",
"dataLength": null,
"dataPrecision": 32,
"dataScale": 0,
"nullable": "Y"
"columnName": "type",
"dataType": "varchar",
"dataLength": 1,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
}
},
......
......@@ -55,19 +55,19 @@
"nullable": "Y"
}
},
"value2": {
"type": "Number",
"required": false,
"length": null,
"precision": 32,
"scale": 0,
"type": {
"type": "String",
"required": true,
"length": 2,
"precision": null,
"scale": null,
"mysql": {
"columnName": "value2",
"dataType": "decimal",
"dataLength": null,
"dataPrecision": 32,
"dataScale": 0,
"nullable": "Y"
"columnName": "type",
"dataType": "varchar",
"dataLength": 2,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
}
},
......
......@@ -64924,12 +64924,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherOrders:
/AnotherRevenues:
post:
tags:
- AnotherOrder
- AnotherRevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherOrder.create
operationId: AnotherRevenue.create
parameters:
- name: data
in: body
......@@ -64937,20 +64937,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
patch:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherOrder.patchOrCreate
operationId: AnotherRevenue.patchOrCreate
parameters:
- name: data
in: body
......@@ -64958,20 +64958,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
put:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherOrder.replaceOrCreate__put_AnotherOrders
operationId: AnotherRevenue.replaceOrCreate__put_AnotherRevenues
parameters:
- name: data
in: body
......@@ -64979,18 +64979,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
get:
tags:
- AnotherOrder
- AnotherRevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherOrder.find
operationId: AnotherRevenue.find
parameters:
- name: filter
in: query
......@@ -65009,16 +65009,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
/AnotherOrders/replaceOrCreate:
/AnotherRevenues/replaceOrCreate:
post:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherOrder.replaceOrCreate__post_AnotherOrders_replaceOrCreate
operationId: AnotherRevenue.replaceOrCreate__post_AnotherRevenues_replaceOrCreate
parameters:
- name: data
in: body
......@@ -65026,21 +65026,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
/AnotherOrders/upsertWithWhere:
/AnotherRevenues/upsertWithWhere:
post:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherOrder.upsertWithWhere
operationId: AnotherRevenue.upsertWithWhere
parameters:
- name: where
in: query
......@@ -65054,19 +65054,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
'/AnotherOrders/{id}/exists':
'/AnotherRevenues/{id}/exists':
get:
tags:
- AnotherOrder
- AnotherRevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherOrder.exists__get_AnotherOrders_{id}_exists'
operationId: 'AnotherRevenue.exists__get_AnotherRevenues_{id}_exists'
parameters:
- name: id
in: path
......@@ -65083,12 +65083,12 @@ paths:
exists:
type: boolean
deprecated: false
'/AnotherOrders/{id}':
'/AnotherRevenues/{id}':
head:
tags:
- AnotherOrder
- AnotherRevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherOrder.exists__head_AnotherOrders_{id}'
operationId: 'AnotherRevenue.exists__head_AnotherRevenues_{id}'
parameters:
- name: id
in: path
......@@ -65107,9 +65107,9 @@ paths:
deprecated: false
get:
tags:
- AnotherOrder
- AnotherRevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherOrder.findById
operationId: AnotherRevenue.findById
parameters:
- name: id
in: path
......@@ -65129,15 +65129,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
put:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherOrder.replaceById__put_AnotherOrders_{id}'
operationId: 'AnotherRevenue.replaceById__put_AnotherRevenues_{id}'
parameters:
- name: id
in: path
......@@ -65151,18 +65151,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
delete:
tags:
- AnotherOrder
- AnotherRevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherOrder.deleteById
operationId: AnotherRevenue.deleteById
parameters:
- name: id
in: path
......@@ -65178,15 +65178,15 @@ paths:
deprecated: false
patch:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherOrder.prototype.patchAttributes
operationId: AnotherRevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherOrder id
description: AnotherRevenue id
required: true
type: string
format: JSON
......@@ -65196,21 +65196,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
'/AnotherOrders/{id}/replace':
'/AnotherRevenues/{id}/replace':
post:
tags:
- AnotherOrder
- AnotherRevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherOrder.replaceById__post_AnotherOrders_{id}_replace'
operationId: 'AnotherRevenue.replaceById__post_AnotherRevenues_{id}_replace'
parameters:
- name: id
in: path
......@@ -65224,19 +65224,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
/AnotherOrders/findOne:
/AnotherRevenues/findOne:
get:
tags:
- AnotherOrder
- AnotherRevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherOrder.findOne
operationId: AnotherRevenue.findOne
parameters:
- name: filter
in: query
......@@ -65253,14 +65253,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
deprecated: false
/AnotherOrders/update:
/AnotherRevenues/update:
post:
tags:
- AnotherOrder
- AnotherRevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherOrder.updateAll
operationId: AnotherRevenue.updateAll
parameters:
- name: where
in: query
......@@ -65274,7 +65274,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherOrder'
$ref: '#/definitions/AnotherRevenue'
responses:
'200':
description: Request was successful
......@@ -65287,12 +65287,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherOrders/count:
/AnotherRevenues/count:
get:
tags:
- AnotherOrder
- AnotherRevenue
summary: Count instances of the model matched by where from the data source.
operationId: AnotherOrder.count
operationId: AnotherRevenue.count
parameters:
- name: where
in: query
......@@ -65310,12 +65310,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherRevenues:
/AnotherOrders:
post:
tags:
- AnotherRevenue
- AnotherOrder
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherRevenue.create
operationId: AnotherOrder.create
parameters:
- name: data
in: body
......@@ -65323,20 +65323,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
patch:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherRevenue.patchOrCreate
operationId: AnotherOrder.patchOrCreate
parameters:
- name: data
in: body
......@@ -65344,20 +65344,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
put:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherRevenue.replaceOrCreate__put_AnotherRevenues
operationId: AnotherOrder.replaceOrCreate__put_AnotherOrders
parameters:
- name: data
in: body
......@@ -65365,18 +65365,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
get:
tags:
- AnotherRevenue
- AnotherOrder
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherRevenue.find
operationId: AnotherOrder.find
parameters:
- name: filter
in: query
......@@ -65395,16 +65395,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
/AnotherRevenues/replaceOrCreate:
/AnotherOrders/replaceOrCreate:
post:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherRevenue.replaceOrCreate__post_AnotherRevenues_replaceOrCreate
operationId: AnotherOrder.replaceOrCreate__post_AnotherOrders_replaceOrCreate
parameters:
- name: data
in: body
......@@ -65412,21 +65412,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
/AnotherRevenues/upsertWithWhere:
/AnotherOrders/upsertWithWhere:
post:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherRevenue.upsertWithWhere
operationId: AnotherOrder.upsertWithWhere
parameters:
- name: where
in: query
......@@ -65440,19 +65440,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
'/AnotherRevenues/{id}/exists':
'/AnotherOrders/{id}/exists':
get:
tags:
- AnotherRevenue
- AnotherOrder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherRevenue.exists__get_AnotherRevenues_{id}_exists'
operationId: 'AnotherOrder.exists__get_AnotherOrders_{id}_exists'
parameters:
- name: id
in: path
......@@ -65469,12 +65469,12 @@ paths:
exists:
type: boolean
deprecated: false
'/AnotherRevenues/{id}':
'/AnotherOrders/{id}':
head:
tags:
- AnotherRevenue
- AnotherOrder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherRevenue.exists__head_AnotherRevenues_{id}'
operationId: 'AnotherOrder.exists__head_AnotherOrders_{id}'
parameters:
- name: id
in: path
......@@ -65493,9 +65493,9 @@ paths:
deprecated: false
get:
tags:
- AnotherRevenue
- AnotherOrder
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherRevenue.findById
operationId: AnotherOrder.findById
parameters:
- name: id
in: path
......@@ -65515,15 +65515,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
put:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherRevenue.replaceById__put_AnotherRevenues_{id}'
operationId: 'AnotherOrder.replaceById__put_AnotherOrders_{id}'
parameters:
- name: id
in: path
......@@ -65537,18 +65537,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
delete:
tags:
- AnotherRevenue
- AnotherOrder
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherRevenue.deleteById
operationId: AnotherOrder.deleteById
parameters:
- name: id
in: path
......@@ -65564,15 +65564,15 @@ paths:
deprecated: false
patch:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherRevenue.prototype.patchAttributes
operationId: AnotherOrder.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherRevenue id
description: AnotherOrder id
required: true
type: string
format: JSON
......@@ -65582,21 +65582,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
'/AnotherRevenues/{id}/replace':
'/AnotherOrders/{id}/replace':
post:
tags:
- AnotherRevenue
- AnotherOrder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherRevenue.replaceById__post_AnotherRevenues_{id}_replace'
operationId: 'AnotherOrder.replaceById__post_AnotherOrders_{id}_replace'
parameters:
- name: id
in: path
......@@ -65610,19 +65610,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
/AnotherRevenues/findOne:
/AnotherOrders/findOne:
get:
tags:
- AnotherRevenue
- AnotherOrder
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherRevenue.findOne
operationId: AnotherOrder.findOne
parameters:
- name: filter
in: query
......@@ -65639,14 +65639,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
deprecated: false
/AnotherRevenues/update:
/AnotherOrders/update:
post:
tags:
- AnotherRevenue
- AnotherOrder
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherRevenue.updateAll
operationId: AnotherOrder.updateAll
parameters:
- name: where
in: query
......@@ -65660,7 +65660,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherRevenue'
$ref: '#/definitions/AnotherOrder'
responses:
'200':
description: Request was successful
......@@ -65673,12 +65673,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherRevenues/count:
/AnotherOrders/count:
get:
tags:
- AnotherRevenue
- AnotherOrder
summary: Count instances of the model matched by where from the data source.
operationId: AnotherRevenue.count
operationId: AnotherOrder.count
parameters:
- name: where
in: query
......@@ -68367,7 +68367,7 @@ definitions:
maxLength: 255
type: string
additionalProperties: false
AnotherOrder:
AnotherRevenue:
properties:
id:
maxLength: 36
......@@ -68378,11 +68378,13 @@ definitions:
value1:
type: number
format: double
value2:
type: number
format: double
type:
maxLength: 2
type: string
required:
- type
additionalProperties: false
AnotherRevenue:
AnotherOrder:
properties:
id:
maxLength: 36
......@@ -68393,9 +68395,11 @@ definitions:
value1:
type: number
format: double
value2:
type: number
format: double
type:
maxLength: 1
type: string
required:
- type
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
......@@ -685,11 +685,11 @@
"dataSource": "ruipeng",
"public": true
},
"AnotherOrder": {
"AnotherRevenue": {
"dataSource": "ruipeng",
"public": true
},
"AnotherRevenue": {
"AnotherOrder": {
"dataSource": "ruipeng",
"public": true
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment