Comments (12)
you can use it now
from egg-swagger-doc.
@Ysj291823 http://127.0.0.1:7001/swagger-ui.html is not works , what is new endpoint?
from egg-swagger-doc.
it is the endpoint, is there err log
from egg-swagger-doc.
@Ysj291823 no error log , just 404 not found page when I open http://127.0.0.1:7001/swagger-ui.html
from egg-swagger-doc.
you can see https://github.com/Ysj291823/egg-example-api , Are there any differences?
from egg-swagger-doc.
i have meet the same problem, when upgrade the old version plugin to new. i will check it.
from egg-swagger-doc.
it is not effective in windows, the option.alias of koa-static-cache.
from egg-swagger-doc.
you can try for it , i push a new version
from egg-swagger-doc.
I tried version 2.1.5 , http://127.0.0.1:7001/swagger-ui.html is not works , Error 404
from egg-swagger-doc.
i have meet the same problem, when upgrade the old version plugin to new. i will check it.
I also test it in fresh project
from egg-swagger-doc.
you can see https://github.com/Ysj291823/egg-example-api , Are there any differences?
I clone egg-example-api and remove https://github.com/Ysj291823/egg-swagger-doc/blob/master/package.json#L27-L29 as I use node 10.14.2
http://localhost:7001/swagger-ui.html works!!!! Why?
from egg-swagger-doc.
I found that you add enable option default is false
from egg-swagger-doc.
Related Issues (20)
- Failed to load API definition. HOT 2
- readme中提到的/swaagger-ui.html HOT 1
- 本项目长时间停更,替换项目推荐! HOT 2
- 返回验证码图片解决办法
- 怎么支持 swagger3.0
- 'eg: '设置request参数example无法生效 识别为description HOT 2
- contract如何用ts定义
- 一个项目两套api HOT 2
- swagger-ui.html的Errors,请问这个Errors是啥问题? HOT 1
- 怎么样设置contract让字段为空时不检验,不为空时检验正则呢
- 自动生成路由,怎么注入中间件
- \
- 动态路由匹配 HOT 3
- @Controller 报错,以下是代码片段
- fix: 解决意外加载TypeScript声明文件`.d.ts`报错问题
- README.md中/swaagger-ui.html 路径错误
- Controller删除后,swagger-doc里仍存在
- 关于 securityDefinitions 不起作用的解决方案 HOT 1
- 关于swagger的默认路径配置问题
- 这个项目是停止维护了吗? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from egg-swagger-doc.