Commit 56a56666 authored by 余海军's avatar 余海军

add

parent 17239491
......@@ -69563,6 +69563,782 @@ paths:
type: number
format: double
deprecated: false
/AnotherEachmonthorders:
post:
tags:
- AnotherEachmonthorder
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherEachmonthorder.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
patch:
tags:
- AnotherEachmonthorder
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthorder.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
put:
tags:
- AnotherEachmonthorder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthorder.replaceOrCreate__put_AnotherEachmonthorders
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
get:
tags:
- AnotherEachmonthorder
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherEachmonthorder.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/replaceOrCreate:
post:
tags:
- AnotherEachmonthorder
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
AnotherEachmonthorder.replaceOrCreate__post_AnotherEachmonthorders_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/upsertWithWhere:
post:
tags:
- AnotherEachmonthorder
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherEachmonthorder.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
'/AnotherEachmonthorders/{id}/exists':
get:
tags:
- AnotherEachmonthorder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthorder.exists__get_AnotherEachmonthorders_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/AnotherEachmonthorders/{id}':
head:
tags:
- AnotherEachmonthorder
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthorder.exists__head_AnotherEachmonthorders_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- AnotherEachmonthorder
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthorder.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
put:
tags:
- AnotherEachmonthorder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherEachmonthorder.replaceById__put_AnotherEachmonthorders_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
delete:
tags:
- AnotherEachmonthorder
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthorder.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- AnotherEachmonthorder
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherEachmonthorder.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherEachmonthorder id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
'/AnotherEachmonthorders/{id}/replace':
post:
tags:
- AnotherEachmonthorder
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
AnotherEachmonthorder.replaceById__post_AnotherEachmonthorders_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/findOne:
get:
tags:
- AnotherEachmonthorder
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherEachmonthorder.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthorder'
deprecated: false
/AnotherEachmonthorders/update:
post:
tags:
- AnotherEachmonthorder
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherEachmonthorder.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthorder'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/AnotherEachmonthorders/count:
get:
tags:
- AnotherEachmonthorder
summary: Count instances of the model matched by where from the data source.
operationId: AnotherEachmonthorder.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
/AnotherEachmonthrevenues:
post:
tags:
- AnotherEachmonthrevenue
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherEachmonthrevenue.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
patch:
tags:
- AnotherEachmonthrevenue
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthrevenue.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
put:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherEachmonthrevenue.replaceOrCreate__put_AnotherEachmonthrevenues
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
get:
tags:
- AnotherEachmonthrevenue
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherEachmonthrevenue.find
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: array
items:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/replaceOrCreate:
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: >-
AnotherEachmonthrevenue.replaceOrCreate__post_AnotherEachmonthrevenues_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/upsertWithWhere:
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherEachmonthrevenue.upsertWithWhere
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
'/AnotherEachmonthrevenues/{id}/exists':
get:
tags:
- AnotherEachmonthrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthrevenue.exists__get_AnotherEachmonthrevenues_{id}_exists'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
'/AnotherEachmonthrevenues/{id}':
head:
tags:
- AnotherEachmonthrevenue
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherEachmonthrevenue.exists__head_AnotherEachmonthrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
exists:
type: boolean
deprecated: false
get:
tags:
- AnotherEachmonthrevenue
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthrevenue.findById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: filter
in: query
description: >-
Filter defining fields and include - must be a JSON-encoded string
({"something":"value"})
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
put:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherEachmonthrevenue.replaceById__put_AnotherEachmonthrevenues_{id}'
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
delete:
tags:
- AnotherEachmonthrevenue
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherEachmonthrevenue.deleteById
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
deprecated: false
patch:
tags:
- AnotherEachmonthrevenue
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherEachmonthrevenue.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherEachmonthrevenue id
required: true
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
'/AnotherEachmonthrevenues/{id}/replace':
post:
tags:
- AnotherEachmonthrevenue
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: >-
AnotherEachmonthrevenue.replaceById__post_AnotherEachmonthrevenues_{id}_replace
parameters:
- name: id
in: path
description: Model id
required: true
type: string
format: JSON
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/findOne:
get:
tags:
- AnotherEachmonthrevenue
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherEachmonthrevenue.findOne
parameters:
- name: filter
in: query
description: >-
Filter defining fields, where, include, order, offset, and limit -
must be a JSON-encoded string (`{"where":{"something":"value"}}`).
See
https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries
for more details.
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherEachmonthrevenue'
deprecated: false
/AnotherEachmonthrevenues/update:
post:
tags:
- AnotherEachmonthrevenue
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherEachmonthrevenue.updateAll
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
- name: data
in: body
description: An object of model property name/value pairs
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherEachmonthrevenue'
responses:
'200':
description: Request was successful
schema:
description: Information related to the outcome of the operation
type: object
properties:
count:
description: The number of instances updated
type: number
format: double
deprecated: false
/AnotherEachmonthrevenues/count:
get:
tags:
- AnotherEachmonthrevenue
summary: Count instances of the model matched by where from the data source.
operationId: AnotherEachmonthrevenue.count
parameters:
- name: where
in: query
description: Criteria to match model instances
required: false
type: string
format: JSON
responses:
'200':
description: Request was successful
schema:
type: object
properties:
count:
type: number
format: double
deprecated: false
definitions:
DashboardHospitalAwenCount:
properties:
......@@ -72450,6 +73226,36 @@ definitions:
type: number
format: double
additionalProperties: false
AnotherEachmonthorder:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 2
type: string
value:
type: number
format: double
companyName:
maxLength: 200
type: string
additionalProperties: false
AnotherEachmonthrevenue:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 2
type: string
value:
type: number
format: double
companyName:
maxLength: 200
type: string
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
info:
......@@ -732,5 +732,13 @@
"AnotherEduccourse2": {
"dataSource": "ruipeng",
"public": true
},
"AnotherEachmonthorder": {
"dataSource": "ruipeng",
"public": true
},
"AnotherEachmonthrevenue": {
"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