This commit is contained in:
2023-08-12 20:55:20 +03:00
parent 816b43dc37
commit a11bb6b95c
13 changed files with 95 additions and 139 deletions

View File

@@ -65,7 +65,8 @@ paths:
in: path
required: true
schema:
$ref: '#/components/schemas/UInt64Value'
type: integer
format: uint64
requestBody:
content:
application/json:
@@ -139,7 +140,8 @@ components:
type: object
properties:
idPackage:
$ref: '#/components/schemas/UInt64Value'
type: integer
format: uint64
text:
type: string
AddCommentRsp:
@@ -152,9 +154,9 @@ components:
type: object
properties:
name:
$ref: '#/components/schemas/StringValue'
type: string
url:
$ref: '#/components/schemas/StringValue'
type: string
modules:
type: array
items:
@@ -162,7 +164,9 @@ components:
format: uint64
AddPackageRsp:
type: object
properties: {}
properties:
status:
type: string
Error:
type: object
properties:
@@ -233,30 +237,16 @@ components:
items:
type: integer
format: uint64
StringValue:
type: object
properties:
value:
type: string
description: The string value.
description: Wrapper message for `string`. The JSON representation for `StringValue` is JSON string.
UInt64Value:
type: object
properties:
value:
type: integer
description: The uint64 value.
format: uint64
description: Wrapper message for `uint64`. The JSON representation for `UInt64Value` is JSON string.
UpdatePackageReq:
type: object
properties:
id:
$ref: '#/components/schemas/UInt64Value'
type: integer
format: uint64
name:
$ref: '#/components/schemas/StringValue'
type: string
url:
$ref: '#/components/schemas/StringValue'
type: string
modules:
type: array
items: