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

Allow Extensions to be passed into the model schema for custom templates #2807

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ovadbar
Copy link

@ovadbar ovadbar commented Jul 29, 2022

I wanted to create custom templates for validating models as suggested in here. But without being about to add more information to the template like what validator functions I want to run with what arguments I can't really do much.

This merge request allows me to add an x-validators parameter in my swagger and modify it in my templates to add functions to validate the field.

@fredbi fredbi changed the title Allow Extensions to passed into the model schema for custom templates Allow Extensions to be passed into the model schema for custom templates Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants