Skip to content

v0.4.1

Latest

Choose a tag to compare

@mariani01 mariani01 released this 03 Jun 16:15
be4d000

Patch release on top of 0.4.0.

Fixed

  • Empty <Structure/> for parameterless commands. A POST whose only parameter was a header (lifted into feature-level <Metadata> since 0.4.0) and which had no request body emitted <DataType><Structure/></DataType>, which the SiLA 2 XSD rejects (Structure requires at least one Element). Such operations now correctly omit <Parameter> entirely - a SiLA 2 Command with no inputs is valid. Reproduces on the LiquidBridge backend spec (pickup-tip / drop-tip / unlock, each carrying only an x-lock-token header); generate then validate -l full now passes XSD + sila2-codegen on all features.

Full suite: 71 passing.