vsmoraes/swagger-ui-bundle

Creates a Swagger UI page in your Symfony2 application

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 21

Language:JavaScript

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

This package is auto-updated.

Last update: 2024-10-29 04:36:37 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