feat: update swagger
This commit is contained in:
parent
0d7f24ed0e
commit
6624f5260c
|
|
@ -6465,43 +6465,43 @@ const docTemplate = `{
|
|||
"request.MagazinesCreateRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"created_by_id",
|
||||
"createdById",
|
||||
"description",
|
||||
"is_active",
|
||||
"is_publish",
|
||||
"page_url",
|
||||
"published_at",
|
||||
"status_id",
|
||||
"thumbnail_path",
|
||||
"thumbnail_url",
|
||||
"isActive",
|
||||
"isPublish",
|
||||
"pageUrl",
|
||||
"publishedAt",
|
||||
"statusId",
|
||||
"thumbnailPath",
|
||||
"thumbnailUrl",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"created_by_id": {
|
||||
"createdById": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_active": {
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_publish": {
|
||||
"isPublish": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"page_url": {
|
||||
"pageUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"published_at": {
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"status_id": {
|
||||
"statusId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"thumbnail_path": {
|
||||
"thumbnailPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"thumbnail_url": {
|
||||
"thumbnailUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
|
|
@ -6512,23 +6512,23 @@ const docTemplate = `{
|
|||
"request.MagazinesUpdateRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"created_by_id",
|
||||
"createdById",
|
||||
"description",
|
||||
"id",
|
||||
"is_active",
|
||||
"is_publish",
|
||||
"page_url",
|
||||
"published_at",
|
||||
"status_id",
|
||||
"thumbnail_path",
|
||||
"thumbnail_url",
|
||||
"isActive",
|
||||
"isPublish",
|
||||
"pageUrl",
|
||||
"publishedAt",
|
||||
"statusId",
|
||||
"thumbnailPath",
|
||||
"thumbnailUrl",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"createdAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_by_id": {
|
||||
"createdById": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
|
|
@ -6537,31 +6537,31 @@ const docTemplate = `{
|
|||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"is_active": {
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_publish": {
|
||||
"isPublish": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"page_url": {
|
||||
"pageUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"published_at": {
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"status_id": {
|
||||
"statusId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"thumbnail_path": {
|
||||
"thumbnailPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"thumbnail_url": {
|
||||
"thumbnailUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6454,43 +6454,43 @@
|
|||
"request.MagazinesCreateRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"created_by_id",
|
||||
"createdById",
|
||||
"description",
|
||||
"is_active",
|
||||
"is_publish",
|
||||
"page_url",
|
||||
"published_at",
|
||||
"status_id",
|
||||
"thumbnail_path",
|
||||
"thumbnail_url",
|
||||
"isActive",
|
||||
"isPublish",
|
||||
"pageUrl",
|
||||
"publishedAt",
|
||||
"statusId",
|
||||
"thumbnailPath",
|
||||
"thumbnailUrl",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"created_by_id": {
|
||||
"createdById": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"is_active": {
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_publish": {
|
||||
"isPublish": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"page_url": {
|
||||
"pageUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"published_at": {
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"status_id": {
|
||||
"statusId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"thumbnail_path": {
|
||||
"thumbnailPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"thumbnail_url": {
|
||||
"thumbnailUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
|
|
@ -6501,23 +6501,23 @@
|
|||
"request.MagazinesUpdateRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"created_by_id",
|
||||
"createdById",
|
||||
"description",
|
||||
"id",
|
||||
"is_active",
|
||||
"is_publish",
|
||||
"page_url",
|
||||
"published_at",
|
||||
"status_id",
|
||||
"thumbnail_path",
|
||||
"thumbnail_url",
|
||||
"isActive",
|
||||
"isPublish",
|
||||
"pageUrl",
|
||||
"publishedAt",
|
||||
"statusId",
|
||||
"thumbnailPath",
|
||||
"thumbnailUrl",
|
||||
"title"
|
||||
],
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"createdAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"created_by_id": {
|
||||
"createdById": {
|
||||
"type": "integer"
|
||||
},
|
||||
"description": {
|
||||
|
|
@ -6526,31 +6526,31 @@
|
|||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"is_active": {
|
||||
"isActive": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"is_publish": {
|
||||
"isPublish": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"page_url": {
|
||||
"pageUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"published_at": {
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"status_id": {
|
||||
"statusId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"thumbnail_path": {
|
||||
"thumbnailPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"thumbnail_url": {
|
||||
"thumbnailUrl": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -267,77 +267,77 @@ definitions:
|
|||
type: object
|
||||
request.MagazinesCreateRequest:
|
||||
properties:
|
||||
created_by_id:
|
||||
createdById:
|
||||
type: integer
|
||||
description:
|
||||
type: string
|
||||
is_active:
|
||||
isActive:
|
||||
type: boolean
|
||||
is_publish:
|
||||
isPublish:
|
||||
type: boolean
|
||||
page_url:
|
||||
pageUrl:
|
||||
type: string
|
||||
published_at:
|
||||
publishedAt:
|
||||
type: string
|
||||
status_id:
|
||||
statusId:
|
||||
type: integer
|
||||
thumbnail_path:
|
||||
thumbnailPath:
|
||||
type: string
|
||||
thumbnail_url:
|
||||
thumbnailUrl:
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
required:
|
||||
- created_by_id
|
||||
- createdById
|
||||
- description
|
||||
- is_active
|
||||
- is_publish
|
||||
- page_url
|
||||
- published_at
|
||||
- status_id
|
||||
- thumbnail_path
|
||||
- thumbnail_url
|
||||
- isActive
|
||||
- isPublish
|
||||
- pageUrl
|
||||
- publishedAt
|
||||
- statusId
|
||||
- thumbnailPath
|
||||
- thumbnailUrl
|
||||
- title
|
||||
type: object
|
||||
request.MagazinesUpdateRequest:
|
||||
properties:
|
||||
created_at:
|
||||
createdAt:
|
||||
type: string
|
||||
created_by_id:
|
||||
createdById:
|
||||
type: integer
|
||||
description:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
is_active:
|
||||
isActive:
|
||||
type: boolean
|
||||
is_publish:
|
||||
isPublish:
|
||||
type: boolean
|
||||
page_url:
|
||||
pageUrl:
|
||||
type: string
|
||||
published_at:
|
||||
publishedAt:
|
||||
type: string
|
||||
status_id:
|
||||
statusId:
|
||||
type: integer
|
||||
thumbnail_path:
|
||||
thumbnailPath:
|
||||
type: string
|
||||
thumbnail_url:
|
||||
thumbnailUrl:
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
updated_at:
|
||||
updatedAt:
|
||||
type: string
|
||||
required:
|
||||
- created_by_id
|
||||
- createdById
|
||||
- description
|
||||
- id
|
||||
- is_active
|
||||
- is_publish
|
||||
- page_url
|
||||
- published_at
|
||||
- status_id
|
||||
- thumbnail_path
|
||||
- thumbnail_url
|
||||
- isActive
|
||||
- isPublish
|
||||
- pageUrl
|
||||
- publishedAt
|
||||
- statusId
|
||||
- thumbnailPath
|
||||
- thumbnailUrl
|
||||
- title
|
||||
type: object
|
||||
request.MasterMenusCreateRequest:
|
||||
|
|
|
|||
Loading…
Reference in New Issue