Commit ff167927 authored by 黄卓然's avatar 黄卓然

fix another_teacher

parent 390415cd
......@@ -88,13 +88,28 @@
"img1": {
"type": "String",
"required": false,
"length": 65535,
"length": 500,
"precision": null,
"scale": null,
"mysql": {
"columnName": "img1",
"dataType": "text",
"dataLength": 65535,
"dataType": "varchar",
"dataLength": 500,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"img2": {
"type": "String",
"required": false,
"length": 500,
"precision": null,
"scale": null,
"mysql": {
"columnName": "img2",
"dataType": "varchar",
"dataLength": 500,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
......
......@@ -64537,12 +64537,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherTeachers:
/HosL3p21s:
post:
tags:
- AnotherTeacher
- HosL3p21
summary: Create a new instance of the model and persist it into the data source.
operationId: AnotherTeacher.create
operationId: HosL3p21.create
parameters:
- name: data
in: body
......@@ -64550,20 +64550,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
patch:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.patchOrCreate
operationId: HosL3p21.patchOrCreate
parameters:
- name: data
in: body
......@@ -64571,20 +64571,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
put:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.replaceOrCreate__put_AnotherTeachers
operationId: HosL3p21.replaceOrCreate__put_HosL3p21s
parameters:
- name: data
in: body
......@@ -64592,18 +64592,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
get:
tags:
- AnotherTeacher
- HosL3p21
summary: Find all instances of the model matched by filter from the data source.
operationId: AnotherTeacher.find
operationId: HosL3p21.find
parameters:
- name: filter
in: query
......@@ -64622,16 +64622,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
/AnotherTeachers/replaceOrCreate:
/HosL3p21s/replaceOrCreate:
post:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: AnotherTeacher.replaceOrCreate__post_AnotherTeachers_replaceOrCreate
operationId: HosL3p21.replaceOrCreate__post_HosL3p21s_replaceOrCreate
parameters:
- name: data
in: body
......@@ -64639,21 +64639,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
/AnotherTeachers/upsertWithWhere:
/HosL3p21s/upsertWithWhere:
post:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: AnotherTeacher.upsertWithWhere
operationId: HosL3p21.upsertWithWhere
parameters:
- name: where
in: query
......@@ -64667,19 +64667,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
'/AnotherTeachers/{id}/exists':
'/HosL3p21s/{id}/exists':
get:
tags:
- AnotherTeacher
- HosL3p21
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherTeacher.exists__get_AnotherTeachers_{id}_exists'
operationId: 'HosL3p21.exists__get_HosL3p21s_{id}_exists'
parameters:
- name: id
in: path
......@@ -64696,12 +64696,12 @@ paths:
exists:
type: boolean
deprecated: false
'/AnotherTeachers/{id}':
'/HosL3p21s/{id}':
head:
tags:
- AnotherTeacher
- HosL3p21
summary: Check whether a model instance exists in the data source.
operationId: 'AnotherTeacher.exists__head_AnotherTeachers_{id}'
operationId: 'HosL3p21.exists__head_HosL3p21s_{id}'
parameters:
- name: id
in: path
......@@ -64720,9 +64720,9 @@ paths:
deprecated: false
get:
tags:
- AnotherTeacher
- HosL3p21
summary: 'Find a model instance by {{id}} from the data source.'
operationId: AnotherTeacher.findById
operationId: HosL3p21.findById
parameters:
- name: id
in: path
......@@ -64742,15 +64742,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
put:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherTeacher.replaceById__put_AnotherTeachers_{id}'
operationId: 'HosL3p21.replaceById__put_HosL3p21s_{id}'
parameters:
- name: id
in: path
......@@ -64764,18 +64764,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
delete:
tags:
- AnotherTeacher
- HosL3p21
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: AnotherTeacher.deleteById
operationId: HosL3p21.deleteById
parameters:
- name: id
in: path
......@@ -64791,15 +64791,15 @@ paths:
deprecated: false
patch:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: AnotherTeacher.prototype.patchAttributes
operationId: HosL3p21.prototype.patchAttributes
parameters:
- name: id
in: path
description: AnotherTeacher id
description: HosL3p21 id
required: true
type: string
format: JSON
......@@ -64809,21 +64809,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
'/AnotherTeachers/{id}/replace':
'/HosL3p21s/{id}/replace':
post:
tags:
- AnotherTeacher
- HosL3p21
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'AnotherTeacher.replaceById__post_AnotherTeachers_{id}_replace'
operationId: 'HosL3p21.replaceById__post_HosL3p21s_{id}_replace'
parameters:
- name: id
in: path
......@@ -64837,19 +64837,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
/AnotherTeachers/findOne:
/HosL3p21s/findOne:
get:
tags:
- AnotherTeacher
- HosL3p21
summary: Find first instance of the model matched by filter from the data source.
operationId: AnotherTeacher.findOne
operationId: HosL3p21.findOne
parameters:
- name: filter
in: query
......@@ -64866,14 +64866,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
deprecated: false
/AnotherTeachers/update:
/HosL3p21s/update:
post:
tags:
- AnotherTeacher
- HosL3p21
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: AnotherTeacher.updateAll
operationId: HosL3p21.updateAll
parameters:
- name: where
in: query
......@@ -64887,7 +64887,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/AnotherTeacher'
$ref: '#/definitions/HosL3p21'
responses:
'200':
description: Request was successful
......@@ -64900,12 +64900,12 @@ paths:
type: number
format: double
deprecated: false
/AnotherTeachers/count:
/HosL3p21s/count:
get:
tags:
- AnotherTeacher
- HosL3p21
summary: Count instances of the model matched by where from the data source.
operationId: AnotherTeacher.count
operationId: HosL3p21.count
parameters:
- name: where
in: query
......@@ -64923,12 +64923,12 @@ paths:
type: number
format: double
deprecated: false
/HosL3p21s:
/AnotherTeachers:
post:
tags:
- HosL3p21
- AnotherTeacher
summary: Create a new instance of the model and persist it into the data source.
operationId: HosL3p21.create
operationId: AnotherTeacher.create
parameters:
- name: data
in: body
......@@ -64936,20 +64936,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
patch:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Patch an existing model instance or insert a new one into the data
source.
operationId: HosL3p21.patchOrCreate
operationId: AnotherTeacher.patchOrCreate
parameters:
- name: data
in: body
......@@ -64957,20 +64957,20 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
put:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosL3p21.replaceOrCreate__put_HosL3p21s
operationId: AnotherTeacher.replaceOrCreate__put_AnotherTeachers
parameters:
- name: data
in: body
......@@ -64978,18 +64978,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
get:
tags:
- HosL3p21
- AnotherTeacher
summary: Find all instances of the model matched by filter from the data source.
operationId: HosL3p21.find
operationId: AnotherTeacher.find
parameters:
- name: filter
in: query
......@@ -65008,16 +65008,16 @@ paths:
schema:
type: array
items:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/HosL3p21s/replaceOrCreate:
/AnotherTeachers/replaceOrCreate:
post:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Replace an existing model instance or insert a new one into the data
source.
operationId: HosL3p21.replaceOrCreate__post_HosL3p21s_replaceOrCreate
operationId: AnotherTeacher.replaceOrCreate__post_AnotherTeachers_replaceOrCreate
parameters:
- name: data
in: body
......@@ -65025,21 +65025,21 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/HosL3p21s/upsertWithWhere:
/AnotherTeachers/upsertWithWhere:
post:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Update an existing model instance or insert a new one into the data
source based on the where criteria.
operationId: HosL3p21.upsertWithWhere
operationId: AnotherTeacher.upsertWithWhere
parameters:
- name: where
in: query
......@@ -65053,19 +65053,19 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
'/HosL3p21s/{id}/exists':
'/AnotherTeachers/{id}/exists':
get:
tags:
- HosL3p21
- AnotherTeacher
summary: Check whether a model instance exists in the data source.
operationId: 'HosL3p21.exists__get_HosL3p21s_{id}_exists'
operationId: 'AnotherTeacher.exists__get_AnotherTeachers_{id}_exists'
parameters:
- name: id
in: path
......@@ -65082,12 +65082,12 @@ paths:
exists:
type: boolean
deprecated: false
'/HosL3p21s/{id}':
'/AnotherTeachers/{id}':
head:
tags:
- HosL3p21
- AnotherTeacher
summary: Check whether a model instance exists in the data source.
operationId: 'HosL3p21.exists__head_HosL3p21s_{id}'
operationId: 'AnotherTeacher.exists__head_AnotherTeachers_{id}'
parameters:
- name: id
in: path
......@@ -65106,9 +65106,9 @@ paths:
deprecated: false
get:
tags:
- HosL3p21
- AnotherTeacher
summary: 'Find a model instance by {{id}} from the data source.'
operationId: HosL3p21.findById
operationId: AnotherTeacher.findById
parameters:
- name: id
in: path
......@@ -65128,15 +65128,15 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
put:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosL3p21.replaceById__put_HosL3p21s_{id}'
operationId: 'AnotherTeacher.replaceById__put_AnotherTeachers_{id}'
parameters:
- name: id
in: path
......@@ -65150,18 +65150,18 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
delete:
tags:
- HosL3p21
- AnotherTeacher
summary: 'Delete a model instance by {{id}} from the data source.'
operationId: HosL3p21.deleteById
operationId: AnotherTeacher.deleteById
parameters:
- name: id
in: path
......@@ -65177,15 +65177,15 @@ paths:
deprecated: false
patch:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Patch attributes for a model instance and persist it into the data
source.
operationId: HosL3p21.prototype.patchAttributes
operationId: AnotherTeacher.prototype.patchAttributes
parameters:
- name: id
in: path
description: HosL3p21 id
description: AnotherTeacher id
required: true
type: string
format: JSON
......@@ -65195,21 +65195,21 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
'/HosL3p21s/{id}/replace':
'/AnotherTeachers/{id}/replace':
post:
tags:
- HosL3p21
- AnotherTeacher
summary: >-
Replace attributes for a model instance and persist it into the data
source.
operationId: 'HosL3p21.replaceById__post_HosL3p21s_{id}_replace'
operationId: 'AnotherTeacher.replaceById__post_AnotherTeachers_{id}_replace'
parameters:
- name: id
in: path
......@@ -65223,19 +65223,19 @@ paths:
required: false
schema:
description: Model instance data
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/HosL3p21s/findOne:
/AnotherTeachers/findOne:
get:
tags:
- HosL3p21
- AnotherTeacher
summary: Find first instance of the model matched by filter from the data source.
operationId: HosL3p21.findOne
operationId: AnotherTeacher.findOne
parameters:
- name: filter
in: query
......@@ -65252,14 +65252,14 @@ paths:
'200':
description: Request was successful
schema:
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
deprecated: false
/HosL3p21s/update:
/AnotherTeachers/update:
post:
tags:
- HosL3p21
- AnotherTeacher
summary: 'Update instances of the model matched by {{where}} from the data source.'
operationId: HosL3p21.updateAll
operationId: AnotherTeacher.updateAll
parameters:
- name: where
in: query
......@@ -65273,7 +65273,7 @@ paths:
required: false
schema:
description: An object of model property name/value pairs
$ref: '#/definitions/HosL3p21'
$ref: '#/definitions/AnotherTeacher'
responses:
'200':
description: Request was successful
......@@ -65286,12 +65286,12 @@ paths:
type: number
format: double
deprecated: false
/HosL3p21s/count:
/AnotherTeachers/count:
get:
tags:
- HosL3p21
- AnotherTeacher
summary: Count instances of the model matched by where from the data source.
operationId: HosL3p21.count
operationId: AnotherTeacher.count
parameters:
- name: where
in: query
......@@ -67830,6 +67830,23 @@ definitions:
maxLength: 65535
type: string
additionalProperties: false
HosL3p21:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 5
type: string
value:
type: number
format: double
area:
maxLength: 101
type: string
required:
- name
additionalProperties: false
AnotherTeacher:
properties:
id:
......@@ -67848,25 +67865,11 @@ definitions:
maxLength: 65535
type: string
img1:
maxLength: 65535
maxLength: 500
type: string
additionalProperties: false
HosL3p21:
properties:
id:
maxLength: 36
type: string
name:
maxLength: 5
img2:
maxLength: 500
type: string
value:
type: number
format: double
area:
maxLength: 101
type: string
required:
- name
additionalProperties: false
basePath: /api/ruipeng
swagger: '2.0'
......@@ -681,11 +681,11 @@
"dataSource": "ruipeng",
"public": true
},
"AnotherTeacher": {
"HosL3p21": {
"dataSource": "ruipeng",
"public": true
},
"HosL3p21": {
"AnotherTeacher": {
"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