Commit d04a6db3 authored by 余海军's avatar 余海军

测试

parent 11783e6a
......@@ -12,7 +12,7 @@
"properties": {
"id": {
"type": "String",
"required": false,
"required": true,
"length": 36,
"precision": null,
"scale": null,
......@@ -23,11 +23,12 @@
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"isArray": false
},
"name": {
"type": "String",
"required": false,
"required": true,
"length": 65535,
"precision": null,
"scale": null,
......
......@@ -5070,778 +5070,6 @@ paths:
type: number
format: double
deprecated: false
/Solos:
post:
tags:
- Solo
summary: Create a new instance of the model and persist it into the data source.
operationId: Solo.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
patch:
tags:
- Solo
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: Solo.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
put:
tags:
- Solo
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Solo.replaceOrCreate__put_Solos
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
get:
tags:
- Solo
summary: Find all instances of the model matched by filter from the data source.
operationId: Solo.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/Solo'
deprecated: false
/Solos/replaceOrCreate:
post:
tags:
- Solo
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: Solo.replaceOrCreate__post_Solos_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
/Solos/upsertWithWhere:
post:
tags:
- Solo
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: Solo.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/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
'/Solos/{id}/exists':
get:
tags:
- Solo
summary: Check whether a model instance exists in the data source.
operationId: 'Solo.exists__get_Solos_{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
'/Solos/{id}':
head:
tags:
- Solo
summary: Check whether a model instance exists in the data source.
operationId: 'Solo.exists__head_Solos_{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:
- Solo
summary: 'Find a model instance by {{id}} from the data source.'
operationId: Solo.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/Solo'
deprecated: false
put:
tags:
- Solo
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Solo.replaceById__put_Solos_{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/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
delete:
tags:
- Solo
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: Solo.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:
- Solo
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: Solo.prototype.patchAttributes
parameters:
- name: id
in: path
description: Solo 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/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
'/Solos/{id}/replace':
post:
tags:
- Solo
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'Solo.replaceById__post_Solos_{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/Solo'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/Solo'
deprecated: false
/Solos/findOne:
get:
tags:
- Solo
summary: Find first instance of the model matched by filter from the data source.
operationId: Solo.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/Solo'
deprecated: false
/Solos/update:
post:
tags:
- Solo
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: Solo.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/Solo'
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
/Solos/count:
get:
tags:
- Solo
summary: Count instances of the model matched by where from the data source.
operationId: Solo.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
/MerchantAmounts:
post:
tags:
- MerchantAmount
summary: Create a new instance of the model and persist it into the data source.
operationId: MerchantAmount.create
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
patch:
tags:
- MerchantAmount
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: MerchantAmount.patchOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
put:
tags:
- MerchantAmount
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: MerchantAmount.replaceOrCreate__put_MerchantAmounts
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
get:
tags:
- MerchantAmount
summary: Find all instances of the model matched by filter from the data source.
operationId: MerchantAmount.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/MerchantAmount'
deprecated: false
/MerchantAmounts/replaceOrCreate:
post:
tags:
- MerchantAmount
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: MerchantAmount.replaceOrCreate__post_MerchantAmounts_replaceOrCreate
parameters:
- name: data
in: body
description: Model instance data
required: false
schema:
description: Model instance data
$ref: '#/definitions/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
/MerchantAmounts/upsertWithWhere:
post:
tags:
- MerchantAmount
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: MerchantAmount.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/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
'/MerchantAmounts/{id}/exists':
get:
tags:
- MerchantAmount
summary: Check whether a model instance exists in the data source.
operationId: 'MerchantAmount.exists__get_MerchantAmounts_{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
'/MerchantAmounts/{id}':
head:
tags:
- MerchantAmount
summary: Check whether a model instance exists in the data source.
operationId: 'MerchantAmount.exists__head_MerchantAmounts_{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:
- MerchantAmount
summary: 'Find a model instance by {{id}} from the data source.'
operationId: MerchantAmount.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/MerchantAmount'
deprecated: false
put:
tags:
- MerchantAmount
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'MerchantAmount.replaceById__put_MerchantAmounts_{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/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
delete:
tags:
- MerchantAmount
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: MerchantAmount.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:
- MerchantAmount
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: MerchantAmount.prototype.patchAttributes
parameters:
- name: id
in: path
description: MerchantAmount 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/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
'/MerchantAmounts/{id}/replace':
post:
tags:
- MerchantAmount
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'MerchantAmount.replaceById__post_MerchantAmounts_{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/MerchantAmount'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/MerchantAmount'
deprecated: false
/MerchantAmounts/findOne:
get:
tags:
- MerchantAmount
summary: Find first instance of the model matched by filter from the data source.
operationId: MerchantAmount.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/MerchantAmount'
deprecated: false
/MerchantAmounts/update:
post:
tags:
- MerchantAmount
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: MerchantAmount.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/MerchantAmount'
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
/MerchantAmounts/count:
get:
tags:
- MerchantAmount
summary: Count instances of the model matched by where from the data source.
operationId: MerchantAmount.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
/Merchants:
post:
tags:
......@@ -6628,48 +5856,6 @@ definitions:
type: number
format: double
additionalProperties: false
Solo:
properties:
hz:
type: number
format: double
hd:
type: number
format: double
hb:
type: number
format: double
hx:
type: number
format: double
hn:
type: number
format: double
id:
type: number
format: double
required:
- hz
- hd
- hb
- hx
- hn
- id
additionalProperties: false
MerchantAmount:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 65535
type: string
value:
type: number
format: double
required:
- value
additionalProperties: false
Merchant:
properties:
id:
......@@ -6682,6 +5868,8 @@ definitions:
type: number
format: double
required:
- id
- name
- value
additionalProperties: false
basePath: /api/ruipeng
......
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