UNPKG

@infinite-debugger/swagger-to-ts

Version:

swagger-to-ts is a powerful library that allows you to generate TypeScript code from Swagger documentation or OpenAPI specifications. It simplifies the process of integrating API definitions into your TypeScript projects, saving you time and effort.

10 lines (9 loc) 387 B
import { NumberSchema } from '../../models/OpenAPISpecification/Schema'; import { SchemaCodeGeneratorFunction } from './models'; /** * Generates number schema code for a given schema * * @param options The options to generate number schema code * @returns The generated number schema code */ export declare const generateNumberSchemaCode: SchemaCodeGeneratorFunction<NumberSchema>;