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 { StringSchema } from '../../models/OpenAPISpecification/Schema'; import { SchemaCodeGeneratorFunction } from './models'; /** * Generates string schema code for a given schema * * @param options The options to generate string schema code * @returns The generated string schema code */ export declare const generateStringSchemaCode: SchemaCodeGeneratorFunction<StringSchema>;