Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance repeated attributes support #411

Merged
merged 1 commit into from
Dec 12, 2022
Merged

Enhance repeated attributes support #411

merged 1 commit into from
Dec 12, 2022

Conversation

juhaku
Copy link
Owner

@juhaku juhaku commented Dec 12, 2022

Add repeated attribute support for params(...), into_params(...) and openapi(...) derive attributes. This functionality is effectively same as in ToSchema schema attribute.

The latest defined attribute takes preference. For openapi attribute values the merge is shallow and also latest defined attribute will take preference without considering inner attributes within openapi attribute.

Add repeated attribute support for `params(...)`, `into_params(...)` and
`openapi(...)` derive attributes. This functionality is effectively same
as in `ToSchema` `schema` attribute.
@juhaku juhaku merged commit 5b643af into master Dec 12, 2022
@juhaku juhaku deleted the repreated-attributes branch December 12, 2022 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

1 participant