Skip to content

assessSpecQuality

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/openapi/sdk-packaging.ts

Spec-quality guard: SDKs are generated only for specs with at least one operation AND at least one component schema. Without schemas the generated packages are untyped stubs (every model is object) — worse than no SDK.

Signature

ts
function assessSpecQuality(spec: unknown): SdkSpecQuality

Parameters

NameType
specunknown

Returns: SdkSpecQuality

Was this page helpful?

Download as PDF