Skip to content

Commit

Permalink
#fix: thuanvv fix fastify schema document api
Browse files Browse the repository at this point in the history
  • Loading branch information
VanThuan76 committed Jan 22, 2025
1 parent c04b222 commit ee671c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/routes/documents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default async function documentRoutes(fastify: FastifyRouteInstance) {
type: 'object',
properties: {
language: { type: 'string', description: 'Language code (e.g., vi, en, etc.)' },
document_type_id: { type: 'string', description: 'ID of pages database' },
document_type_id: { type: 'number', description: 'ID of pages database' },
size: { type: 'number', description: 'Size number of records (e.g., 10.)' },
page: { type: 'number', description: 'Page number of database (e.g., 1.)' }
},
Expand Down

0 comments on commit ee671c6

Please sign in to comment.