activelamp/swagger-ui-bundle

Creates a Swagger UI page in your Symfony2 application

Installs: 127 603

Dependents: 0

Suggesters: 0

Security: 0

Stars: 26

Watchers: 2

Forks: 21

Open Issues: 15

Language:JavaScript

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

This package is not auto-updated.

Last update: 2024-12-17 08:26:44 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