activelamp/swagger-ui-bundle

Creates a Swagger UI page in your Symfony2 application

Installs: 3 328

Dependents: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 2

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

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']
    authentication:
        oauth:
            enable:               false
            client_id:            null
            realm:                null
            app_name:             null
        http:
            enable:               false
            key_name:             null
            delivery:             null