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
how can specify format for parameters? #732
Comments
With #739 this is now possible. Just override your form parameters with another parameter definition like this:
|
@BenjaminPaap @willdurand |
When using an |
@BenjaminPaap |
please see this answer, why validationParser can detect format from FormType properties, but can not guess they from validation annotations that define on entity properties? sry, i can not speak english good |
I use
input
property of@ApiDoc
annotation for specifieng of parameters of my api that are form's fields.data_class
of form is a entity that have constraint validation for properties.I expect that nelmio api doc specify parameter format as validation constraints of entity, but format are empty.
stack overflow
How can i specify parameter formats in nelmio ApiDocBundle?
The text was updated successfully, but these errors were encountered: