1.1.1 • Published 3 years ago
standard-schema-type v1.1.1
standard-schema-type
This package is produced based on standard Iranian input data with bcom development team for fastify.
Installation
npm standard-schema-type
Short Example:pattern national code
fastify.get('/', {
schema: {
description: 'inquiry',
summary: '',
tags: [swaggerTag],
query: {
type: 'object',
properties: {
status: customTypes.status,
start: schemaTypes.number,
size: schemaTypes.number,
},
},
});
Input
Minimum and maximum are renge of error codes Example for defult error
Output
This package helps you not to check regex manually
License
Copyright 2011-2022 at ebcom.ir