1.1.1 • Published 3 years ago

standard-schema-type v1.1.1

Weekly downloads
-
License
ebcom
Repository
-
Last release
3 years ago

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

1.1.1

3 years ago

1.1.0

3 years ago