render

Validate PlantUML source without rendering an image

Cheap syntax check. 200 {ok:true, diagram_type, warnings[]} when the engine accepts the source; 422 with a machine-readable error (code, message, 1-based line/column relative to the submitted text, source_line, hint, diagram_type_detected, help link) otherwise. Use it in a generate -> validate -> fix loop before rendering.

post/api/validate

Request

  • Base URL: https://uml.singsk.com
  • URL: https://uml.singsk.com/api/validate
  • Auth: none declared

Request body

textstring required

Response

Valid

oktrue
diagram_typestring

Changes

No recorded changes to this operation across all 1 revision of this API.