gin-swagger icon indicating copy to clipboard operation
gin-swagger copied to clipboard

i got a question. how can I do when using docker and swag?

Open c5433137 opened this issue 5 years ago • 1 comments

i publish my server bt docker that its ip and port is random,but in swagger,i use like this: // @host 0.0.0.0:12348 // @BasePath /zt-group-apiserver/api/v1/group

so i can't send request to my server,because its ip and port is wrong.

c5433137 avatar Feb 25 '20 07:02 c5433137

Why not use domain?

lzz001 avatar Mar 07 '20 02:03 lzz001