Skip to main content
Home
This package has been archived, and as such it is read-only.

latest
It is unknown whether this package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
47%
Published
2 years ago (0.0.4)
class GenerateContext

Constructors

new
GenerateContext(unnamed 0: ConstructorArgs)

Properties

schemaModel: OasDocument
settings: Settings
typeSystem: TypeSystem
readonly
typeSystemInfo: Omit<TypeSystem, "create">

Methods

addFile(normalisedPath: string): FileContents
register(unnamed 0: RegisterArgs): void
report(unnamed 0: ReportArgs): void
toInferType(
value: Stringable,
coreContext: CoreContext,
): Stringable
toTypeSystem(
unnamed 0: ToTypeSystemArgs,
context: CoreContext,
): Stringable

Static Methods

create(args: ConstructorArgs): GenerateContext

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";
or

Import directly with a jsr specifier

import { GenerateContext } from "jsr:@skmtc/skmtc/context";

Add Package

pnpm i jsr:@skmtc/skmtc
or (using pnpm 10.8 or older)
pnpm dlx jsr add @skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";

Add Package

yarn add jsr:@skmtc/skmtc
or (using Yarn 4.8 or older)
yarn dlx jsr add @skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";

Add Package

vlt install jsr:@skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";

Add Package

npx jsr add @skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";

Add Package

bunx jsr add @skmtc/skmtc

Import symbol

import { GenerateContext } from "@skmtc/skmtc/context";