Diagnostics
Get diagnostics for a build
get/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
BuildDiagnostic = object { code, ignored, level, 4 more }
BuildDiagnostic = object { code, ignored, level, 4 more }
code: string
code: string
The kind of diagnostic.
ignored: boolean
ignored: boolean
Whether the diagnostic is ignored in the Stainless config.
level: "fatal" or "error" or "warning" or "note"
level: "fatal" or "error" or "warning" or "note"
The severity of the diagnostic.
Accepts one of the following:
"fatal"
"error"
"warning"
"note"
message: string
message: string
A description of the diagnostic.
Accepts one of the following:
Markdown = object { markdown, type }
Markdown = object { markdown, type }
markdown: string
type: "markdown"
Raw = object { raw, type }
Raw = object { raw, type }
raw: string
type: "raw"
config_ref: optional string
config_ref: optional string
A JSON pointer to a relevant field in the Stainless config.
oas_ref: optional string
oas_ref: optional string
A JSON pointer to a relevant field in the OpenAPI spec.
BuildDiagnosticMore = object { markdown, type } or object { raw, type }
BuildDiagnosticMore = object { markdown, type } or object { raw, type }
Accepts one of the following:
Markdown = object { markdown, type }
Markdown = object { markdown, type }
markdown: string
type: "markdown"
Raw = object { raw, type }
Raw = object { raw, type }
raw: string
type: "raw"