activelamp/swagger-ui-bundle

Creates a Swagger UI page in your Symfony2 application

Installs: 12 864

Dependents: 0

Suggesters: 0

Stars: 12

Watchers: 2

Forks: 15

Open Issues: 12

Language: JavaScript

v0.1.2 2014-08-25 16:39 UTC

README

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