Skip to content

Conversation

@codercms
Copy link

@codercms codercms commented Jan 6, 2026

  • Collect component schemas for IntoResponses enums (this allows to avoid manually referring schemas in openapi derive, which causes inconsistency between automatic request body schema extraction and missing response schemas extraction in case of enum which implements IntoResponses trait).
  • utoipa::path macro flag to enable/disable automatic inclusion of IntoParams impls to request params (this is disabled by default)
  • Global config option to enable IntoParams impls inclusion (this is disabled by default)

This changes shouldn't trigger #675 again

No breaking changes are excepted, all tests passed (at least locally).

* Collect component schemas for `IntoResponses` enums
* `utoipa::path` macro flag to enable/disable automatic inclusion of `IntoParams` impls to request params  (this is disabled by default)
* Global config option to enable `IntoParams` impls inclusion (this is disabled by default)

No breaking changes are excepted, all tests passed (at least locally).
Added missing `auto_into_params` method to config
Add missing schema collection for Result<T, E>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant