Skip to content

Requiem

Latest

Choose a tag to compare

@oliyh oliyh released this 13 Nov 17:30
· 14 commits to master since this release

This release changes:

  • nullability and required keys in Swagger schemas in #264
    Consider this schema:

    {
      "type": "object",
      "required": ["req"],
      "properties": {
        "req": { "type": "object", "required": ["x"], "properties": { "x": { "type": "string" } } },
        "opt": { "type": "object", "required": ["x"], "properties": { "x": { "type": "string" } } },
        "items": { "type": "array", "items": { "type": "object", "required": ["x"], "properties": { "x": { "type": "string" } } } }
      }
    }
    

    Previously this would have resulted in opt being wrongly treated as a required parameter, because it had a required property specifying which of its own children were required.
    Now, opt is correctly marked as an optional parameter of the top level object.

    Additionally, items elements previously did not honour x being a required parameter.
    Now, x is correctly required.

This release fixes:

  • Alias keys of CLJS maps with more than 8 entries #265 thanks @marksto
  • Cache alias registry paths that have no aliases #266 thanks @marksto

Full Changelog: 0.2.4...0.2.5