Comments (1)
嗯,目前还是只支持官网的写法,即通过router.ts文件来定义路由。tegg插件定义路由的方式暂不支持哦!tegg是通过装饰器来定义路由,跟nest和midway一样。
from swagger-egg.
Related Issues (20)
- 配置controller注释时,parameterSchema中,目前能否支持一些常用类型的配置? HOT 2
- controller文件名带有'-'生成不了api文档 HOT 4
- 注意:关于如何定义示例(example)的问题 HOT 2
- `package-lock.json` 中存在无法解析的域名 npm.corp.kuaishou.com HOT 1
- 建议暴露ts编译出的 `schemaObject` 以便复用于参数校验 HOT 1
- 注意:关于带短横线或下划线的文件名问题
- 路由信息解析不出来 HOT 4
- #responses 不写 Description 会报错 HOT 1
- 有多个in body的#parameters 时@rtk-query/codegen-openapi报错 HOT 1
- TS应用中默认的 `yarn start` 命令启动报错
- 解析不出 controller action HOT 1
- 请问想在apifox里配置出post请求,参数取json,controller里应该怎么配置呢 HOT 10
- 默认路径问题 HOT 1
- 使用egg-router-plus后,提示错误
- 如何设置参数的默认值? HOT 1
- destory 写错了 应该是 destroy
- 额外写一个HotelController,无法正常显示,只有在HomeController中能显示 HOT 1
- example 都跑不起来啊 HOT 3
- schema如何支持array类型,则其过元素为object HOT 2
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 swagger-egg.