cowboy_swagger icon indicating copy to clipboard operation
cowboy_swagger copied to clipboard

Add possibility to configure own path to `/api-docs/swagger.json`

Open vkatsuba opened this issue 4 months ago • 3 comments

The /api-docs/swagger.json is hardcoded at https://github.com/inaka/cowboy_swagger/blob/2.7.0/priv/swagger/swagger-initializer.js#L6 and it lead to issues if few dependencies in the project are use this great library for creating Swagger. It will be nice if path to /swagger.json can be configured or at least depended by name of application where this library is used.

vkatsuba avatar Oct 01 '24 11:10 vkatsuba