Skip to content
FeedbackDashboard

Diagnostics

Get diagnostics for a build
builds().diagnostics().list(DiagnosticListParamsparams = DiagnosticListParams.none(), RequestOptionsrequestOptions = RequestOptions.none()) : DiagnosticListPage
GET/v0/builds/{buildId}/diagnostics
ModelsExpand Collapse
class BuildDiagnostic:
code: String

The kind of diagnostic.

ignored: Boolean

Whether the diagnostic is ignored in the Stainless config.

level: Level

The severity of the diagnostic.

One of the following:
FATAL("fatal")
ERROR("error")
WARNING("warning")
NOTE("note")
message: String

A description of the diagnostic.

more: Optional<BuildDiagnosticMore>
One of the following:
Markdown
markdown: String
type: JsonValue; "markdown"constant"markdown"constant
Raw
raw: String
type: JsonValue; "raw"constant"raw"constant
configRef: Optional<String>

A JSON pointer to a relevant field in the Stainless config.

oasRef: Optional<String>

A JSON pointer to a relevant field in the OpenAPI spec.

class BuildDiagnosticMore: A class that can be one of several variants.union
Markdown
markdown: String
type: JsonValue; "markdown"constant"markdown"constant
Raw
raw: String
type: JsonValue; "raw"constant"raw"constant