You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…in the other.
That works perfectly fine except for the global specs, because if I do…
cowboy_swagger:set_global_spec(TheSpec)
…or even if I use add_definition/1 directly, they end up both with the same tags and definitions and… well… basically the same spec, which (in my case) is incorrect.
I would like to have independent (per-server) specs, so that each one can have their own.
The text was updated successfully, but these errors were encountered:
I have two cowboy servers running different REST APIs in my Erlang VM.
To split their swagger pages I do…
…in one, and…
…in the other.
That works perfectly fine except for the global specs, because if I do…
…or even if I use
add_definition/1
directly, they end up both with the same tags and definitions and… well… basically the same spec, which (in my case) is incorrect.I would like to have independent (per-server) specs, so that each one can have their own.
The text was updated successfully, but these errors were encountered: