richhollis/swagger-docs — pull request #21 by fotinakis (2014-02-12 00:33:35+00:00)
Title: Add ability to transform_path for the core API config.

The `path` element of the swagger DSL `{"apis": [{"path": ...}]}`
allows a distinction between the API docs server and the hosted API
location (see https://github.com/wordnik/swagger-core/wiki/No-server-Integrations ).

This adds the ability to provide a custom transform function to swagger-docs which
can arbitrarily modify the currently-autogenerated `path` variable.