RootLinkFE / roothub-codegen

swagger 接口文档风格,根据文档生成代码
https://marketplace.visualstudio.com/items?itemName=giscafer.roothub
13 stars 1 forks source link

如何使用 #12

Open Eileen-v opened 1 year ago

Eileen-v commented 1 year ago

大佬您好,想问一下具体的使用方式,我已经安装了插件到vscode,但是一直获取失败不知道是哪里的问题 image

giscafer commented 1 year ago

注释说明了,去掉 doc.html ,填前面的地址,这里的 doc.html也是 index.html 的意思,你就写到 xxx/swagger-ui 这里再试。行不行再反馈

Eileen-v commented 1 year ago

注释说明了,去掉 doc.html ,填前面的地址,这里的 doc.html也是 index.html 的意思,你就写到 xxx/swagger-ui 这里再试。行不行再反馈 image 您好,我又尝试了一下,还是不行 但是我在网页上输入http://xxxxxx:8011/api/swagger-ui/index.html,是可以打开swagger文档的

giscafer commented 1 year ago

不行应该截图看一下错误。chrome devtool console 报错也截图看看

Eileen-v commented 1 year ago

不行应该截图看一下错误。chrome devtool console 报错也截图看看

image

配置的代理

image

image

vscode已安装推荐的插件

麻烦啦,再次感谢~!

giscafer commented 1 year ago

@ZTrainWilliams