/swagger-ui-bundle

Creates a Swagger UI page in your Symfony2 application

Primary LanguageJavaScript

Swagger UI Bundle

Creates a swagger-ui page (something like this) in your Symfony2 application.

  • Basic functionalities
  • Configurable authentication methods
  • Unit tests

For Swagger v1.x support, use the v0.2.1 of this repository. dev-master is now using Swagger v2.

Documentation

Configuration reference

al_swagger_ui:
    resource_list:        ~ # Required
    static_resources:
        resource_dir:         null
        resource_list_filename:  api-docs.json
    js_config:
        expansion:            list
        supported_submit_methods: [get, post, put, delete]
        sorter:               null
        highlight_size_threshold:  null
        boolean_values: ['true', 'false']
    auth_config:
        oauth:
            enable:               false
            client_id:            null
            realm:                null
            app_name:             null
        http:
            enable:               false
            key_name:             null
            delivery:             null