swagger icon indicating copy to clipboard operation
swagger copied to clipboard

index.html shoud not specify swagger.json as an external file

Open neo502721 opened this issue 2 years ago • 4 comments

neo502721 avatar Jun 03 '22 15:06 neo502721

https://github.com/beego/swagger/blob/60b96c68749093a58d4c84621e3f768b8142f84a/index.html#L42

neo502721 avatar Jun 03 '22 15:06 neo502721

https://github.com/beego/swagger/blob/60b96c68749093a58d4c84621e3f768b8142f84a/index.html#L42

this will cause the local swagger.json unable to display

neo502721 avatar Jun 03 '22 15:06 neo502721

@astaxie could you create a new release with the update?

Afterwards I can update the url in the cli (https://github.com/beego/bee/blob/develop/cmd/commands/run/docs.go)

PedroDuarte536 avatar Apr 10 '23 08:04 PedroDuarte536

OK, I think I can help to do it.

flycash avatar Apr 10 '23 08:04 flycash