Comments (3)
@Ysj291823 大神~
from egg-swagger-doc.
其实我也刚开始学,这里深层次的目录扫描是可以实现的,不过controller层通常不需要弄得很复杂吧,按操作的资源作文件名,一层基本也够用了,所以就扫描了一层,如果想多层的话,参照definition_reader里的去改就好了。慢慢的扩展优化。
from egg-swagger-doc.
好的~谢谢大神!
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.