Comments (1)
现在这个库中没有对 class 做额外的限制,在具体的处理过程中也没有对 class 进行实例化,只是简单的将对应的静态方法作为路由的处理函数添加上去,所以在非静态方法中添加 swagger 的 decorator 是没有意义的, 所有的处理函数应该都是类的静态方法
from koa-swagger-decorator.
Related Issues (20)
- No swagger doc shows when using export instead of export default HOT 1
- 参数校验失败,返回400和error, 是否可以自定义格式? HOT 2
- validator loses return value from next middleware
- 生产如何关闭swagger HOT 1
- Incorrect "main" file path in 1.8.1 HOT 1
- add response body example to responses HOT 1
- Check failure HOT 1
- date format should check 'yyyy-MM-dd' as stated in OpenAPI definition
- Add support for sorthing methods based on Request Type or alphabetically
- Add support for HEAD Request
- Controller resets on each request
- Can it support the array body?
- Can it support array body? HOT 1
- Could this support ESM when I set module 'ESNext' at tsconfig.json HOT 2
- SyntaxError: Invalid or unexpected token HOT 1
- tsconfig.json报错
- securityDefinitions 增加header属性不生效 HOT 1
- Swagger "spec" attribute is doing nothing. HOT 1
- too specific HOT 1
- 在最新的版本文档中未看到Authorize如何配置,请问这一块如何配置? 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 koa-swagger-decorator.