feat: update swagger tariff
This commit is contained in:
parent
d36f174c2a
commit
fd6fe6d5d6
@ -28,6 +28,7 @@ export const privilege: SwaggerMessage = {
|
|||||||
type: { type: "string" },
|
type: { type: "string" },
|
||||||
value: { type: "string" },
|
value: { type: "string" },
|
||||||
price: { type: "number" },
|
price: { type: "number" },
|
||||||
|
amount: { type: "number" },
|
||||||
isDeleted: { type: "boolean" },
|
isDeleted: { type: "boolean" },
|
||||||
createdAt: {
|
createdAt: {
|
||||||
type: "string",
|
type: "string",
|
||||||
|
@ -22,7 +22,20 @@ export const tariffBody: SwaggerMessage = {
|
|||||||
isCustom: { type: "boolean" },
|
isCustom: { type: "boolean" },
|
||||||
privilegieIDArray: {
|
privilegieIDArray: {
|
||||||
type: "array",
|
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: [
|
examples: [
|
||||||
|
Loading…
Reference in New Issue
Block a user