@typespec/openapi3
Version:
TypeSpec library for emitting OpenAPI 3.0 and OpenAPI 3.1 from the TypeSpec REST protocol binding and converting OpenAPI3 to TypeSpec
7 lines • 432 B
TypeScript
import type { IntrinsicScalarName, Scalar } from "@typespec/compiler";
import type { ResolvedOpenAPI3EmitterOptions } from "./openapi.js";
import type { OpenAPI3Schema, OpenAPISchema3_1 } from "./types.js";
export declare function getSchemaForStdScalars(scalar: Scalar & {
name: IntrinsicScalarName;
}, options: ResolvedOpenAPI3EmitterOptions): OpenAPI3Schema & OpenAPISchema3_1;
//# sourceMappingURL=std-scalar-schemas.d.ts.map