null mgt and put method

This commit is contained in:
ycc
2022-05-17 18:05:18 +02:00
parent 4be754b679
commit f1310a3a54
9 changed files with 447 additions and 116 deletions

View File

@ -164,6 +164,39 @@
}
}
},
"put": {
"tags": [
"t"
],
"description": "put data in table",
"operationId": "TableController.Put data in table",
"parameters": [
{
"in": "path",
"name": "table",
"description": "Name of the table",
"required": true,
"type": "string"
},
{
"in": "body",
"name": "data",
"description": "body for data content (Json format)",
"required": true,
"schema": {
"$ref": "#/definitions/json"
}
}
],
"responses": {
"200": {
"description": "{string} success"
},
"403": {
"description": ":table put issue"
}
}
},
"post": {
"tags": [
"t"
@ -393,6 +426,10 @@
"title": "TableQuery",
"type": "object"
},
"json": {
"title": "json",
"type": "object"
},
"true": {
"title": "true",
"type": "object"

View File

@ -109,6 +109,28 @@ paths:
description: '{string} success !'
"403":
description: no table
put:
tags:
- t
description: put data in table
operationId: TableController.Put data in table
parameters:
- in: path
name: table
description: Name of the table
required: true
type: string
- in: body
name: data
description: body for data content (Json format)
required: true
schema:
$ref: '#/definitions/json'
responses:
"200":
description: '{string} success'
"403":
description: :table put issue
post:
tags:
- t
@ -262,6 +284,9 @@ definitions:
TableQuery:
title: TableQuery
type: object
json:
title: json
type: object
"true":
title: "true"
type: object