Skip to content

v0.3.0

Latest

Choose a tag to compare

@DylanBlakemore DylanBlakemore released this 08 Jun 10:08

Features

  • Add constraint options to the @param and @property DSL: enum, nullable, format,
    min_length/max_length, minimum/maximum, pattern, and min_items/max_items.
    Scalar constraints apply to array items; min_items/max_items apply to the array. Nullable
    rendering follows the configured openapi_version (nullable: true for 3.0, a "null" type
    union for 3.1) (#1).

Fixes

  • De-duplicate operationIds so the spec stays OpenAPI-valid when one action serves
    multiple routes (e.g. resources PUT/PATCH update twins or dual-mounted controllers).
    Colliding ids are disambiguated by verb, then by path; already-unique ids are unchanged
    (#2).