API平台版本: 1.2
这是我当前的api_platform配置文件:
api_platform:
enable_swagger_ui: false
enable_re_doc: true
mapping:
paths: ['%kernel.project_dir%/src/Entity']
启用ReDoc时出现此错误:
(1/1) InvalidConfigurationException
Unrecognized option "enable_re_doc" under "api_platform". Available options are
"allow_plain_identifiers", "collection", "default_operation_path_resolver",
"description", "eager_loading", "enable_docs", "enable_entrypoint",
"enable_fos_user", "enable_nelmio_api_doc", "enable_profiler",
"enable_swagger", "enable_swagger_ui", "error_formats", "exception_to_status",
"formats", "graphql", "http_cache", "mapping", "name_converter", "oauth",
"path_segment_name_generator", "resource_class_directories", "swagger",
"title", "validator", "version".