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

add

parent 7a28e506
...@@ -55,19 +55,19 @@ ...@@ -55,19 +55,19 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"value2": { "type": {
"type": "Number", "type": "String",
"required": false, "required": true,
"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"
} }
} }
}, },
......
...@@ -55,19 +55,19 @@ ...@@ -55,19 +55,19 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"value2": { "type": {
"type": "Number", "type": "String",
"required": false, "required": true,
"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"
} }
} }
}, },
......
...@@ -64924,12 +64924,12 @@ paths: ...@@ -64924,12 +64924,12 @@ paths:
type: number type: number
format: double format: double
deprecated: false deprecated: false
/AnotherOrders: /AnotherRevenues:
post: post:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.create operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
patch: patch:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.patchOrCreate operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
put: put:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.replaceOrCreate__put_AnotherOrders operationId: AnotherRevenue.replaceOrCreate__put_AnotherRevenues
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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
get: get:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.find operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
/AnotherOrders/replaceOrCreate: /AnotherRevenues/replaceOrCreate:
post: post:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.replaceOrCreate__post_AnotherOrders_replaceOrCreate operationId: AnotherRevenue.replaceOrCreate__post_AnotherRevenues_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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
/AnotherOrders/upsertWithWhere: /AnotherRevenues/upsertWithWhere:
post: post:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.upsertWithWhere operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
'/AnotherOrders/{id}/exists': '/AnotherRevenues/{id}/exists':
get: get:
tags: tags:
- AnotherOrder - AnotherRevenue
summary: Check whether a model instance exists in the data source. 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: 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
'/AnotherOrders/{id}': '/AnotherRevenues/{id}':
head: head:
tags: tags:
- AnotherOrder - AnotherRevenue
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'AnotherOrder.exists__head_AnotherOrders_{id}' operationId: 'AnotherRevenue.exists__head_AnotherRevenues_{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:
- AnotherOrder - AnotherRevenue
summary: 'Find a model instance by {{id}} from the data source.' summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherOrder.findById operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
put: put:
tags: tags:
- AnotherOrder - AnotherRevenue
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: 'AnotherOrder.replaceById__put_AnotherOrders_{id}' operationId: 'AnotherRevenue.replaceById__put_AnotherRevenues_{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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
delete: delete:
tags: tags:
- AnotherOrder - AnotherRevenue
summary: 'Delete a model instance by {{id}} from the data source.' summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherOrder.deleteById operationId: AnotherRevenue.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:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.prototype.patchAttributes operationId: AnotherRevenue.prototype.patchAttributes
parameters: parameters:
- name: id - name: id
in: path in: path
description: AnotherOrder id description: AnotherRevenue 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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
'/AnotherOrders/{id}/replace': '/AnotherRevenues/{id}/replace':
post: post:
tags: tags:
- AnotherOrder - AnotherRevenue
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: 'AnotherOrder.replaceById__post_AnotherOrders_{id}_replace' operationId: 'AnotherRevenue.replaceById__post_AnotherRevenues_{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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
/AnotherOrders/findOne: /AnotherRevenues/findOne:
get: get:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.findOne operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
deprecated: false deprecated: false
/AnotherOrders/update: /AnotherRevenues/update:
post: post:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.updateAll operationId: AnotherRevenue.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/AnotherOrder' $ref: '#/definitions/AnotherRevenue'
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
/AnotherOrders/count: /AnotherRevenues/count:
get: get:
tags: tags:
- AnotherOrder - AnotherRevenue
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: AnotherOrder.count operationId: AnotherRevenue.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
/AnotherRevenues: /AnotherOrders:
post: post:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.create operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
patch: patch:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.patchOrCreate operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
put: put:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.replaceOrCreate__put_AnotherRevenues operationId: AnotherOrder.replaceOrCreate__put_AnotherOrders
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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
get: get:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.find operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
/AnotherRevenues/replaceOrCreate: /AnotherOrders/replaceOrCreate:
post: post:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.replaceOrCreate__post_AnotherRevenues_replaceOrCreate operationId: AnotherOrder.replaceOrCreate__post_AnotherOrders_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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
/AnotherRevenues/upsertWithWhere: /AnotherOrders/upsertWithWhere:
post: post:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.upsertWithWhere operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
'/AnotherRevenues/{id}/exists': '/AnotherOrders/{id}/exists':
get: get:
tags: tags:
- AnotherRevenue - AnotherOrder
summary: Check whether a model instance exists in the data source. 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: 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
'/AnotherRevenues/{id}': '/AnotherOrders/{id}':
head: head:
tags: tags:
- AnotherRevenue - AnotherOrder
summary: Check whether a model instance exists in the data source. summary: Check whether a model instance exists in the data source.
operationId: 'AnotherRevenue.exists__head_AnotherRevenues_{id}' operationId: 'AnotherOrder.exists__head_AnotherOrders_{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:
- AnotherRevenue - AnotherOrder
summary: 'Find a model instance by {{id}} from the data source.' summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherRevenue.findById operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
put: put:
tags: tags:
- AnotherRevenue - AnotherOrder
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: 'AnotherRevenue.replaceById__put_AnotherRevenues_{id}' operationId: 'AnotherOrder.replaceById__put_AnotherOrders_{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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
delete: delete:
tags: tags:
- AnotherRevenue - AnotherOrder
summary: 'Delete a model instance by {{id}} from the data source.' summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherRevenue.deleteById operationId: AnotherOrder.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:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.prototype.patchAttributes operationId: AnotherOrder.prototype.patchAttributes
parameters: parameters:
- name: id - name: id
in: path in: path
description: AnotherRevenue id description: AnotherOrder 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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
'/AnotherRevenues/{id}/replace': '/AnotherOrders/{id}/replace':
post: post:
tags: tags:
- AnotherRevenue - AnotherOrder
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: 'AnotherRevenue.replaceById__post_AnotherRevenues_{id}_replace' operationId: 'AnotherOrder.replaceById__post_AnotherOrders_{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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
responses: responses:
'200': '200':
description: Request was successful description: Request was successful
schema: schema:
$ref: '#/definitions/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
/AnotherRevenues/findOne: /AnotherOrders/findOne:
get: get:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.findOne operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
deprecated: false deprecated: false
/AnotherRevenues/update: /AnotherOrders/update:
post: post:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.updateAll operationId: AnotherOrder.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/AnotherRevenue' $ref: '#/definitions/AnotherOrder'
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
/AnotherRevenues/count: /AnotherOrders/count:
get: get:
tags: tags:
- AnotherRevenue - AnotherOrder
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: AnotherRevenue.count operationId: AnotherOrder.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
AnotherOrder: AnotherRevenue:
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
AnotherRevenue: AnotherOrder:
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'
...@@ -685,11 +685,11 @@ ...@@ -685,11 +685,11 @@
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"AnotherOrder": { "AnotherRevenue": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"AnotherRevenue": { "AnotherOrder": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "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