utoipa-gen-1.0.0 #113
juhaku
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 ofutoipa::path
attribute macro but this release lets users completely omit those parameters since they now can be derived withIntoParams
trait.Serde support allows now people to skip fields or variants being serialized to OpenAPI spec and allows users to make the
Component
s camelCase or any other case withrename_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
andchrono_types_with_format
is changed to justchrono
andchrono_with_format
because of this new feature flag format introduced in rust 1.60.Full change log
This discussion was created from the release utoipa-gen-1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions