Skip to content
FeedbackDashboard

Diagnostics

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

The kind of diagnostic.

boolean ignored

Whether the diagnostic is ignored in the Stainless config.

Level level

The severity of the diagnostic.

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

A description of the diagnostic.

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

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

Optional<String> oasRef

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

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