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