feat: update swagger tariff
This commit is contained in:
parent
d36f174c2a
commit
fd6fe6d5d6
@ -28,6 +28,7 @@ export const privilege: SwaggerMessage = {
|
||||
type: { type: "string" },
|
||||
value: { type: "string" },
|
||||
price: { type: "number" },
|
||||
amount: { type: "number" },
|
||||
isDeleted: { type: "boolean" },
|
||||
createdAt: {
|
||||
type: "string",
|
||||
|
@ -22,7 +22,20 @@ export const tariffBody: SwaggerMessage = {
|
||||
isCustom: { type: "boolean" },
|
||||
privilegieIDArray: {
|
||||
type: "array",
|
||||
items: { type: "string" },
|
||||
items: {
|
||||
type: "object",
|
||||
description: "Привилегия",
|
||||
properties: {
|
||||
name: { type: "string" },
|
||||
privilegeId: { type: "string" },
|
||||
serviceKey: { type: "string" },
|
||||
description: { type: "string" },
|
||||
amount: { type: "number" },
|
||||
type: { type: "string" },
|
||||
value: { type: "string" },
|
||||
price: { type: "number" },
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
examples: [
|
||||
|
Loading…
Reference in New Issue
Block a user