cowboy_swagger icon indicating copy to clipboard operation
cowboy_swagger copied to clipboard

Swagger integration for Cowboy (built on trails)

Results 15 cowboy_swagger issues
Sort by recently updated
recently updated
newest added

Hey. Currently, I don't see an option to include the `````` tag in the section of the Swagger UI generated HTML. Or really anyway to modify the default HTML. This...

:ticket: https://github.com/inaka/cowboy_swagger/issues/206 :link: Initial PR https://github.com/inaka/cowboy_swagger/pull/204 :building_construction: CI results https://github.com/vkatsuba/cowboy_swagger/actions/workflows/ci.yml

CI output ```sh ===> Analyzing applications... ===> Compiling cowboy_swagger ===> Running Common Test suites... %%% cowboy_swagger_SUITE: ..... %%% cowboy_swagger_handler_SUITE: .. All 7 tests passed. ===> Verifying dependencies... ===> Analyzing applications......

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...

I have two cowboy servers running different REST APIs in my Erlang VM. To split their swagger pages I do… ```erlang trails:trail( "/audit/rest/api-docs/swagger.json", cowboy_swagger_json_handler, #{server => server_one}, #{get => #{hidden...

enhancement