Skip to content

The option "documentation" does not exist #1716

Open
@pmoscicki

Description

@pmoscicki

"nelmio/api-doc-bundle": "^3.7"

form type created like docs
https://symfony.com/doc/current/bundles/NelmioApiDocBundle/index.html#symfony-form-types

but got error in unit test

Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException: The option "documentation" does not exist. Defined options are: "action", "allow_extra_fields", "allow_file_upload", "attr", "attr_translation_parameters", "auto_initialize", "block_name", "block_prefix", "by_reference", "compound", "constraints", "data", "data_class", "disabled", "empty_data", "error_bubbling", "error_mapping", "extra_fields_message", "help", "help_attr", "help_html", "help_translation_parameters", "inherit_data", "invalid_message", "invalid_message_parameters", "is_empty_callback", "label", "label_attr", "label_format", "label_html", "label_translation_parameters", "mapped", "method", "post_max_size_message", "property_path", "required", "row_attr", "translation_domain", "trim", "upload_max_size_message", "validation_groups".

also I found this:
#1127 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions