Skip to content

utoipa-1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Apr 17:47
906d965

What's New 💎 🆕 🎉

This release brings forth quite a few improvements which include improved path and query parameter resoving for actix-web framework, partial support for serde attributes and uuid support as well.

Previously with actix-web you needed to define the query parameters within params(...) section of utoipa::path attribute macro but this release lets users completely omit those parameters since they now can be derived with IntoParams trait.

Serde support allows now people to skip fields or variants being serialized to OpenAPI spec and allows users to make the Components camelCase or any other case with rename_all.

Uuids are now supported with uuid feature flag directly within parameters and fields of components.

This is also a breaking release so keep notice of changes. The minimum rustc is now 1.60 mainly because of new feature flag format introduced in rust 1.60. Also previously chrono_types and chrono_types_with_format is changed to just chrono and chrono_with_format because of this new feature flag format introduced in rust 1.60.

Full change log