Skip to main content

Interface: GetSpec

Defined in: packages/core/src/application/use-cases/get-spec.ts:29

Loads a spec and all of its artifact files.

Returns null if the spec does not exist in the given workspace.

Methods

execute()

execute(input): Promise<GetSpecResult | null>

Defined in: packages/core/src/application/use-cases/get-spec.ts:47

Executes the use case.

Parameters

input

GetSpecInput

Query parameters

Returns

Promise<GetSpecResult | null>

The spec and its loaded artifacts, or null if the spec does not exist