openapi-typescript-validator
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -15,6 +15,2 @@ import { JSONSchema } from 'json-schema-to-typescript'; | ||
export declare const number: SchemaObject; | ||
export declare const date: SchemaObject; | ||
export declare const dateTime: SchemaObject; | ||
export declare const uri: SchemaObject; | ||
export declare const email: SchemaObject; | ||
export declare const any: SchemaObject; | ||
@@ -21,0 +17,0 @@ export declare const anonymousData: SchemaObject; |
@@ -14,3 +14,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.compose = exports.constant = exports.enumerate = exports.anyOf = exports.oneOf = exports.optional = exports.nillable = exports.nullable = exports.map = exports.array = exports.ref = exports.object = exports.anonymousData = exports.any = exports.email = exports.uri = exports.dateTime = exports.date = exports.number = exports.string = exports.positiveInteger = exports.id = exports.boolean = void 0; | ||
exports.compose = exports.constant = exports.enumerate = exports.anyOf = exports.oneOf = exports.optional = exports.nillable = exports.nullable = exports.map = exports.array = exports.ref = exports.object = exports.anonymousData = exports.any = exports.number = exports.string = exports.positiveInteger = exports.id = exports.boolean = void 0; | ||
exports.boolean = { type: 'boolean' }; | ||
@@ -21,6 +21,2 @@ exports.id = { type: 'string', minLength: 1 }; | ||
exports.number = { type: 'number' }; | ||
exports.date = { type: 'string', format: 'date' }; | ||
exports.dateTime = { type: 'string', format: 'date-time' }; | ||
exports.uri = { type: 'string', format: 'uri' }; | ||
exports.email = { type: 'string', format: 'email' }; | ||
exports.any = {}; | ||
@@ -27,0 +23,0 @@ exports.anonymousData = { additionalProperties: { type: 'string' } }; |
{ | ||
"name": "openapi-typescript-validator", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Generate typescript with ajv validation based on openapi schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
33685
378