Skip to content
GitmoapAPIBeta
Schema

ValidationWarning

One thing worth saying about a definition that is nonetheless valid.

Shape

  • codestringStable machine code — the warning rule's own name, exactly as a violation's is.
  • messagestring
  • targetValidationTarget
    • The ValidationTarget schema
    • kindValidationTargetKindpipelinestagenodeedgecomponent_instanceWhich kind of element a validation violation targets.
    • idstringoptionalId of the stage, step, connection or component instance at fault; empty for a problem with the pipeline as a whole.

Example

Synthesized example
{
"code": "code-7fe7",
"message": "Inline scalar newtypes but keep their brand",
"target": {
"kind": "pipeline",
"id": "id-bf04"
}
}

Graph

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.