无法识别的选项"键入"在" nelmio_api_doc.sandbox.authentication"

时间:2015-02-02 13:31:40

标签: php symfony fosrestbundle api-doc

有问题调用api形式nelmio api doc,api work from Postman extension

config.yml

fos_rest:
    body_converter: 
        enabled: true
    body_listener:
        decoders:
            json: fos_rest.decoder.json
    routing_loader:
        include_format: false
        default_format: json
    view:
        view_response_listener: true
    param_fetcher_listener: true
    serializer:
        serialize_null: true

nelmio_api_doc:
    sandbox:
        authentication:
            delivery: http
            type: basic
        enabled: true
        accept_type: application/json
        body_format: form

有人能解决我的问题吗?谢谢!

0 个答案:

没有答案