Comments (3)
你好,我们将在近期将 swagger 组件迁移到 midway 主库,并进行重写。
from midway-component.
好像也没有写 servers 字段的地方,感觉可以在接收配置的时候都读取进来...
https://swagger.io/specification/
from midway-component.
schema 的生成似乎写成返回值的话并不会自动生成
from midway-component.
Related Issues (8)
- swagger过滤不生成文档的API HOT 1
- 组件中 provideWrapper的函数,无法找到同组建的注入的函数
- 一个不带任何路由的controller,getClassMetadata函数获取的路由信息是undefined,无法 iterable造成 swagger-ui/json 返回 404.
- [swagger]当在configuration.ts 添加全局路由前缀后, 生成的swagger文档中没包含路由前缀 HOT 1
- [swagger] 运行官方提供的 demo-swagger 例子, post 请求的request body没有显示出对应的Schema : UserVO
- 可以配置全局header吗,接口的返回对象中CreateApiPropertyDoc好像也不生效哈 HOT 1
- 与 RuleType.object() 不兼容 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 midway-component.